LaunchCode logo
  1. Contents
  2. 4. Classes in Java, Part 1

4. Classes in Java, Part 1ΒΆ

  • 4.1. Classes for Java
    • 4.1.1. A Minimal Class and Object
    • 4.1.2. The this Keyword
    • 4.1.3. Check Your Understanding
  • 4.2. Modifiers in Java
    • 4.2.1. Access Modifiers
    • 4.2.2. Check Your Understanding
  • 4.3. Encapsulation
    • 4.3.1. Encapsulation
    • 4.3.2. Student Class
      • 4.3.2.1. Fields
      • 4.3.2.2. Getters and Setters
      • 4.3.2.3. Properties
    • 4.3.3. Check Your Understanding
  • 4.4. Constructors
    • 4.4.1. Overloading Constructors
    • 4.4.2. Check Your Understanding
  • 4.5. Methods
    • 4.5.1. Calling Methods on Objects
    • 4.5.2. Instance Methods
    • 4.5.3. Check Your Understanding
  • 4.6. Single Responsibility Principle
  • 4.7. Exercises: Classes and Objects
  • 4.8. Studio: Restaurant Menu
    • 4.8.1. Design
    • 4.8.2. Presenting Your Design
    • 4.8.3. Implementation
    • 4.8.4. Submitting Your Work
  • ← 3.8. Studio: Counting Characters
  • 4.1. Classes for Java →

Back to top

Page Source