5

Working with Strings, Arrays, and ArrayLists

CERTIFICATION OBJECTIVE

    •    Create and Manipulate Strings

    •    Manipulate Data Using the StringBuilder Class and Its Methods

    •    Declare, Instantiate, Initialize, and Use a One-Dimensional Array

    •    Declare, Instantiate, Initialize, and Use a Multidimensional Array

    •    Declare and Use an ArrayList

    •    Use Encapsulation for Reference Variables

     image    Two-Minute Drill

Q&A Self Test

CERTIFICATION OBJECTIVE

Using String and StringBuilder (OCA Objectives 2.7 and 2.6)

2.7 Create and manipulate strings.

2.6 Manipulate data using the StringBuilder class and its methods ...

Get OCA/OCP Java SE 7 Programmer I & II Study Guide (Exams 1Z0-803 & 1Z0-804) 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.