Page 253 - AP Computer Science A, 7th edition
P. 253
CHAPTER 4
Some Standard Classes
Anyone who considers arithmetical methods of producing random digits is, of course, in a state of sin. —John von Neumann (1951)
• The Object class • The String class • Wrapper classes • The Math class
• Random numbers
Chapter G oals
THEObjectCLASS
The Universal Superclass
Think of Object as the superclass of the universe. Every class automatically extends Object, which means that Object is a direct or indirect superclass of every other class. In a class hierarchy tree, Object is at the top: