C H A P T E R 2
Discovering Classes and Objects
Chapter 1 gently introduced you to the Java language by focusing mainly on fundamental language features ranging from comments to statements. Using only these features, you can create simple applications (such as HelloWorld
and the applications mentioned in the chapter’s exercises) that are reminiscent of those written in structured programming languages such as C.
Note Structured programming is a programming paradigm that enforces a logical structure on programs through data structures (named aggregates of data items), functions (named blocks of code that return values to the code that calls ...
Get Beginning Java 7 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.