Syllabus

  1. 01Classes and ObjectsModel things from the real world as classes. Give objects state with fields, set them up with constructors, give them behavior with methods, and make them print nicely with toString.7 lessons
    1. 01Classes and Instances
    2. 02Constructors
    3. 03Many Objects, One Class
    4. 04Instance Methods
    5. 05Parameters and Return Values
    6. 06Printing Objects with toString
    7. 07Quiz: Classes and Objects
  2. 02Using Built-In ClassesTreat classes as black boxes with public APIs, read their contracts, pass objects to methods and constructors, and use the Integer, Double, Math and Random classes from the standard library.6 lessons
    1. 01Black Boxes, APIs and Packages
    2. 02Contracts: Preconditions and Postconditions
    3. 03Objects as Parameters
    4. 04The Integer and Double Classes
    5. 05The Math and Random Classes
    6. 06Quiz: Using Built-In Classes