by Editorial | Aug 26, 2022 | Grade 12, Grade 12 - Inheritance, Grade 12 - OOP
This one hour, 2022 OOP exercise comes from an exam paper set by M Walker and moderated by H Peuckert and R Viljoen from the Pretoria 480 IEB IT cluster. The mark allocations are also shown. Concepts in this exam. Reads from a text file. Creates an array of objects....
by Editorial | Aug 25, 2022 | Grade 12, Grade 12 - Inheritance, Grade 12 - OOP
Here is a helicopter overview of how inheritance works using the NetBeans Debugger. Click here to download presentation Here is the code for the four classes for you to examine (many topics in the code have not been discussed in the presentation as this is an...
by Editorial | Sep 12, 2021 | Grade 12, Grade 12 - Inheritance
Your Java Parent class must do the calculations on behalf of your Child class. How is how to do it . . . Click here to download...
by Editorial | May 2, 2021 | Grade 12, Grade 12 - Inheritance
A Full Solution for a program with four classes, with inheritance. Scenario: A array of dog objects. Two types of dogs i.e. regular “dogs” and “working dogs”, based on Carol Lewis’ inheritance presentation. The UI class with the main...
by Editorial | Feb 28, 2021 | Grade 12, Grade 12 - OOP, Grade 12 - Search and Sort
Inheritance is an important element of OOP programming. Using Carol Lewis’ Inheritance workshop we will re-create her example of an array of Dogs. This array will be a mixed array because some of the elements will be of the class “Dogs” while others...