LaunchCode logo
  1. Contents
  2. 5. Classes and Objects, Part 2

5. Classes and Objects, Part 2ΒΆ

  • 5.1. Customizing Fields
    • 5.1.1. Final Fields
    • 5.1.2. Static Fields
    • 5.1.3. Constants
    • 5.1.4. References
    • 5.1.5. Check Your Understanding
  • 5.2. Instance and Static Methods
    • 5.2.1. Quick Method Review
    • 5.2.2. Instance Methods
    • 5.2.3. Static Methods
    • 5.2.4. Accessing Static vs. Instance Fields
    • 5.2.5. References
    • 5.2.6. Check Your Understanding
  • 5.3. Special Methods
    • 5.3.1. toString
    • 5.3.2. equals
      • 5.3.2.1. Coding a New equals Method
      • 5.3.2.2. Components of equals
      • 5.3.2.3. Characteristics of equals
      • 5.3.2.4. Take Away
    • 5.3.3. References
    • 5.3.4. Check Your Understanding
  • 5.4. IntelliJ Generator Shortcut
    • 5.4.1. Try It!
  • 5.5. Exercises: Objects and Classes, Part 2
    • 5.5.1. The getGradeLevel Method
    • 5.5.2. The addGrade Method
      • 5.5.2.1. GPA Information
      • 5.5.2.2. Determine the New GPA
    • 5.5.3. toString and equals
  • 5.6. Studio: Restaurant Menu Continued
    • 5.6.1. Design
    • 5.6.2. Share Your Design
    • 5.6.3. Implementation
    • 5.6.4. Bonus Mission
    • 5.6.5. Submitting Your Work
  • ← 4.8. Studio: Restaurant Menu
  • 5.1. Customizing Fields →

Back to top

Page Source