Object-Oriented Programming using Java

This subject introduces the student to object-oriented programming. The student learns to build reusable objects, encapsulate data and logic within a class, inherit one class from another and implement polymorphism. Adhere to object-oriented programming principles including encapsulation, polymorphism and inheritance when writing program code

Learning outcomes

Academic policy

Prerequisite(s)

PRF192 - Programming Fundamentals

Java Technology

Java technology is a high-level, robust, and secure programming platform. It includes:

The Java Programming Language

Java is:

Java Platform

The Java platform includes:

1749043121839

Java Platform Editions

Bytecode

1749043071389

Example: A Simple Java Program

1
2
3
4
5
public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello, World!");
    }
}

1749043171651