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

5. Classes and Objects, Part 2ΒΆ

  • 5.1. Customizing Fields
    • 5.1.1. Readonly Fields
    • 5.1.2. Static Fields
    • 5.1.3. Constants
    • 5.1.4. 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. 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. Check Your Understanding
  • 5.4. Visual Studio 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. Commit Your Work
    • 5.6.5. Bonus Mission
  • ← 4.8. Studio: Restaurant Menu
  • 5.1. Customizing Fields →

Back to top

Page Source