Chapter 4. String, StringBuilder, Arrays, and ArrayList
Exam objectives covered in this chapter |
What you need to know |
---|---|
[2.7] Create and manipulate strings. | How to create String objects using the assignment and new operators. Use of the operators =, +=, !=, and == with String objects. Literal value for class String. Use of methods from class String. Immutable String values. All of the String methods manipulate and return a new String object. |
[3.3] Test equality between strings and other objects using == and equals(). | How to determine the equality of two String objects. Differences between using operator == and method equals() to determine equality of String objects. |
[2.6] Manipulate data using the StringBuilder class and ... |
Get OCA Java SE 7 Programmer I Certification Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.