by Editorial | Aug 26, 2022 | Grade 11, Grade 12, Grade 12 - Debug, Grade 12 - OOP
Using the Java Debugger in NetBeans is not as easy as it looks. Here is a demo with a four class program that uses inheritance. Click here to download If your knowledge of Java inheritance is not good perhaps you should watch this presentation first. It also...
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 | Aug 22, 2022 | Grade 12, Grade 12 - SQL
Here is a SQL exercise based on the 2022 SQL exam set by Dr C Kader and moderated by Mr T de Jager and Mr R Viljoen of the IEB Pretoria 480 cluster. In some cases you may find comments which can be annoying if you print the documents shown below. These can be turning...
by Editorial | Aug 7, 2022 | Grade 10, Grade 10 - GUI, Grade 11, Grade 11 - GUI, Grade 12 - PAT
Teacher’s Calculator Learning how to create GUIs in Java takes your coding to the next level and empowers you to start your Grade 12 PAT project. Up to this point your coding has had to run sequentially from top to bottom without user interventions. The big...
by Editorial | Feb 8, 2022 | Grade 12 - OOP, Grade 12 - text files
Reading in a text file into an array using the Scanner class and using OOP principals eg static variables and methods, creating objects, passing parameters. This program also uses String handling. There are eight versions of this program. The first versions has no OOP...
by Editorial | Nov 2, 2021 | Grade 10, Grade 11, Grade 12
Being able in Java to generate a random number, from an arbitrary number, to another arbitrary number (from lower bound to upper bound). Note that the lower bound and upper bound is included. Example: If the lower bound is 2 and upper bound is 15, the code below will...