March 2020
Intermediate to advanced
328 pages
10h 1m
English
Chapter 1. Software qualities and a problem to solve
Listing 1.1. Novice: Fields and constructor
Chapter 2. Reference implementation
Listing 2.1. Reference: Fields and constructor
Listing 2.2. Reference: The getAmount method
Listing 2.3. Reference: The connectTo method
Listing 2.4. Reference: The addWater method
Listing 2.5. Reference: The connectTo method (comments stripped)
Chapter 3. Need for speed: Time efficiency
Listing 3.1. Speed1: The nested class Group
Listing 3.2. Speed1: Methods getAmount and addWater
Listing 3.4. Speed2: Method connectTo