Gr 12 – Threads in Java

Understanding multithreading is difficult if you have never seen Java code with multiple threads. Threads have to be coded by the developer and is not taught at high school level. These two programs also use inheritance. Using Gogga is a useful way to demonstrate...

Gr 12 – Search Array

In SQL there is an IN statement that looks for a value within a given list. Example. SELECT town FROM tblTowns WHERE town IN (‘Johannesburg’, ‘Pretoria’, ‘Cape Town’); How does one code the same thing in Java when using a regular...

Gr11 12 – Data Validation

Data Validation Overview. V1 Validation first, followed by verification. Validation – does the data match the template? Example: The date template could be “yyyy-MM-dd” Verification – the data does match the template but is it valid? Example: “2026-14-13” matches the...

Gr 12 – OOP Theory

In Java OOP we need to understand the terminology and the design concepts behind OOP. Here are two handouts, quite similar but one is a teaching document and the other is a study document. Click here for OOP theory handout Click here for OOP theory study notes One of...