Chapter B3 · 8 available objectives
Object-oriented Programming
Classes, encapsulation, inheritance, polymorphism, and design patterns.
Evaluate the fundamentals of OOP
Object Oriented Programming (OOP) is a programming paradigm that organises software around objects rather than functions .
13 minB3.1.3Distinguish between static and non-static variables and methods
Every class member in Java/OOP has a fundamental question: does it belong to the class itself, or to each individual object?
4 minB3.1.5Explain and apply the concepts of encapsulation and information hiding in OOP
Encapsulation is the process of bundling data (attributes) and methods (behaviour) together into a single unit — a class.
4 minB3.2.1Explain and apply inheritance in OOP to promote code reusability
Inheritance lets a new class ( subclass ) reuse common attributes and methods from an existing class ( superclass ), then add its own specific features.
3 minB3.2.2Construct code to model polymorphism and its various forms, such as method overriding
Polymorphism means code can take many forms . Which method version is used depends on:
3 minB3.2.3Explain the concept of abstraction in OOP
Abstraction means exposing what an object does while hiding how it does it (hiding the complex internal implementation details) . Users can operate an…
3 minB3.2.4Explain the role of composition and aggregation in class relationships
In OOP, classes can relate in different ways:
2 minB3.2.5Explain commonly used design patterns in OOP
A design pattern is a reusable solution template for recurring design problems.
3 min