http://docs.oracle.com/javase/tutorial/ Core Java

Ch4 Objects and Classes

4.1 Introduction to Object-Oriented Programming

  • Encapsulation: The key to making encapsulation work is to have methods never directly access instance fields in a class other than their own.

4.2 Using Predefined Classes

  • an object variable doesn’t actually contain an object. It only refers to an object.

4.3 Defining Your Own Classes, page 145

4.4 Static Fields and Methods, page 158

4.5 Method Parameters, page 164

4.6 Object Construction, page 171

4.7 Packages, page 182

4.8 The Class Path, page 190

4.9 Documentation Comments, page 194

4.10 Class Design Hints, page 200