O'Reilly logo
  • Pawel Hulek thinks this is interesting:

boolean contains(String str)

From

Cover of OCA: Oracle Certified Associate Java SE 8 Programmer I Study Guide: Exam 1Z0-808

Note

There is no such method. There is method for CharSequence