February 2014
Beginner
1248 pages
62h 25m
English
• The public methods of a class are also known as the class’s public services or public interface (p. 316). They present to the class’s clients a view of the services the class provides.
• A class’s private members are not accessible to its clients.
• String class static method format (p. 318) is similar to method System.out.printf except that format returns a formatted String rather than displaying it in a command window.
• All objects in Java have a toString method that returns a String representation of the object. Method toString is called implicitly when an object appears in code where a String is needed.
Read now
Unlock full access