Get full access to Java Illuminated, 4th Edition and 60K+ other titles, with a free 10-day trial of O'Reilly.
There are also live events, courses curated by job role, and more.
Object-Oriented Programming, Part 1: Using Classes
3.1 Class Basics and Benefits
3.2 Creating Objects Using Constructors
3.3 Calling Methods
3.4 Using Object References
3.5 Programming Activity 1: Calling Methods
3.6 The Java Class Library
3.7 The String Class
3.8 Formatting Output with the DecimalFormat Class
3.9 Generating Random Numbers with the Random Class
3.10 Input from the Console Using the Scanner Class
3.11 Calling Static Methods and Using Static Class Variables
3.12 Using System.in and System.out
3.13 The Math Class
3.14 Formatting Output with the Number-Format Class
3.15 The Integer, Double, and Other Wrapper Classes
3.16 Input and Output Using JOptionPane Dialog Boxes
3.17 Programming Activity ...
Get Java Illuminated, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.
Get Mark Richards’s Software Architecture Patterns ebook to better understand how to design components—and how they should interact.
Dive in for free with a 10-day trial of the O’Reilly learning platform—then explore all the other resources our members count on to build skills and solve problems every day.