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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.