Java Arena

Module 17

Classes and objects

Your first classes. Objects you already know, a class in its own file with private instance variables, constructors, methods that print and methods that change an object's state, and programs with several objects of the same class.

Steps

  1. Objects you already know
  2. Writing a class
  3. Constructors
  4. Methods of an object
  5. Changing an object
  6. Several objects