September 2011
Beginner
650 pages
15h 47m
English
From a day-to-day programming standpoint, one of the most important of Java’s data types is String. String defines and supports character strings. In many other programming languages a string is an array of characters. This is not the case with Java. In Java, strings are objects.
Actually, you have been using the String class since Chapter 1, but you did not know it. When you create a string literal, you are actually creating a String object. For example, in the statement
![]()
the string “In Java, strings are objects.” is automatically made into a String object by Java. Thus, the use of the String class has been “below the surface” in the ...
Read now
Unlock full access