Murach's Beginning Java 2, SDK 1.4
This chapter shows how to work with arrays and vectors. In addition,
it shows some advanced skills for working with strings, which can
be thought of as arrays of characters.
|
|
|
|
How to create an array |
266 |
|
How to assign values to the elements of an array |
268 |
|
Code examples that work with arrays |
270 |
|
|
How to create a two-dimensional array |
272 |
|
Code examples that work with two-dimensional
arrays |
274 |
|
|
The methods of the Arrays class |
276 |
|
Code examples that work with the Arrays class |
278 |
|
How to implement the Comparable interface |
280 |
|
How to reference an array |
282 |
|
How to copy an array |
282 |
|
|
Constructors of the String class |
284 |
|
Code examples that create strings |
284 |
|
Methods of the String class |
286 |
|
Code examples that work with strings |
288 |
|
|
Constructors and methods of the StringBuffer class |
290 |
|
Code examples that work with the StringBuffer class |
292 |
|
|
Constructors and methods of the Vector class |
294 |
|
Code examples that work with the Vector class |
296 |
|
|
The user interface |
298 |
|
The code |
298 |
|
|
t |
|
|
|
|
© Copyright 1998-2008 Mike Murach &
Associates, Inc. All rights reserved.
|