Object Approach to Problem Solving (Playful OOP)

Inheritance

3h 0min
Chapter 6 - Inheritance and the for loop (6.1 - 6.3)

Understanding Understanding the basic principles of object-oriented programming (50%)
Applying Understanding the syntax of the Java programming language (10%)
Analysing Analysing program execution based on the source code (10%)
Creating The ability of creating own programs with the use of OOP (30%)
Inheritance
Acquisition
1 Basic concepts
Inheritance

15 min
Production
2 Exercise 6.1
Ancestor and descendant class

20 min
Discussion
3 Code explanation
Class hierarchy

15 min
Production
4 Exercise 6.2
Obstacles as a single list

10 min
Creating a subclass Arena
Discussion
1 Code explanation
Ancestor

20 min
Discussion
2 Basic concepts
Ancestor constructor

10 min
Production
3 Exercise 6.3
Parametric constructor

15 min
Production
4 Exercise 6.4
Constructor for an empty arena

10 min
Overriding
Discussion
1 Code explanation
Overriding

25 min
Production
2 Exercise 6.5
Size representation

20 min
Production
3 Exercise 6.6
Conditional size representation

20 min