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 | Aug 24, 2021 | Grade 12, Grade 12 - Inheritance, Grade 12 - Prelim Papers
Create a four-class program – a single array of contestant objects with inheritance – some contestants have donated and some have not. UI class , manager class, contestant class and donor class which is a sub class of contestants Contestants – Fields...
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 | May 1, 2021 | Grade 12, Grade 12 - Inheritance
A Bare Bones** solution for a program with four classes, with inheritance. Scenario: An event for contestants, some with disabilities and some without. Create an array of contestant objects; Contestants is the superclass with ContestantsP being the subclass...