Objects First With Java - Chapter 1
Objects First With Java - Chapter 1
Objects First With Java - Chapter 1
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Other observations• Many instances can be createdfrom a single class.• An object has attributes: valuesstored in fields.• The class defines what fields anobject has, but each object storesits own set of values (the state ofthe object).<strong>Objects</strong> <strong>First</strong> with <strong>Java</strong> A Practical Introduction using BlueJ, © David J. Barnes, Michael Kölling 13