Search
Contents
18.
Classes
18.
Classes
ΒΆ
18.1. What Are Classes?
18.1.1. An Astronaut Object
18.2. Declaring and Calling a Class
18.2.1. Creating a Class
18.2.1.1. Assigning Properties
18.2.2. Creating a New Class Object
18.2.2.1. Setting Default Values
18.2.3. Check Your Understanding
18.3. Assigning Class Methods
18.3.1. Assigning Methods Outside
constructor
18.3.2. Assigning Methods Inside
constructor
18.3.3. Which Way is Preferred?
18.3.4. Check Your Understanding
18.4. Inheritance
18.4.1.
extends
18.4.2. Check Your Understanding
18.5. Exercises: Classes
18.6. Studio: Classes
18.6.1. Getting Started
18.6.2. Part 1 - Add Class Properties
18.6.3. Part 2 - Add First Class Method
18.6.4. Part 3 - Add More Methods
18.6.4.1. Calculating the Test Average
18.6.4.2. Determining Candidate Status
18.6.5. Part 4 - Play a Bit
←
17.5.
Studio: Strategic Debugging
18.1.
What Are Classes?
→