AI STUDY METHOD PRESENTS
REVISION ARCADE
EVERY SUBJECT · EVERY LEVEL · 22 GAMES · COLLECT COINS
▶ ENTER FREE →
◆ INSERT COIN ◆
IB Computer Science Revision

Object-Oriented Programming

Classes, objects, inheritance, encapsulation and polymorphism.

Object-Oriented Programming is a core part of IB Computer Science. Revise the key concepts and common mistakes below, then lock them in with the free games.

Key concepts

Class and objectClass is template; object is instance with state and behaviour; Simula 1967 introduced OOP concepts.
EncapsulationBundling data and methods; restricting direct access via private fields and public getters/setters.
InheritanceSubclass inherits attributes and methods from superclass; allows code reuse and is-a relationships.
PolymorphismOne interface, many implementations; method overriding and overloading; runtime dispatch.
Abstract classCannot be instantiated; declares interface and may include partial implementation; concrete subclasses required.
UML class diagramBoxes show class name, attributes, methods; arrows show inheritance and association (OMG standard 1997).
InterfaceContract of method signatures to implement.
Concrete classProvides full implementation; instantiable.
UMLUnified Modeling Language for software diagrams.
Class diagramShows classes, attributes, methods, relations.
AssociationLink between classes - composition, aggregation.
Design patternReusable template for design problems.
SingletonEnsures one instance globally.
ObserverSubjects notify subscribers on change.
Learn Object-Oriented Programming step by step

Free interactive mini-lessons: short screens, worked examples and quick checks. Pick your exam board:

Other boards:SL

Practise Object-Oriented Programming — free games

Test yourself with these quick revision games for this topic:

See all 22 games in the Revision Arcade →

More IB Computer Science topics

Cover of 100 AI Prompts for IB Computer Science
Free · PDF
100 AI Prompts for IB Computer Science

Print-and-paste prompts built around the Velvet Method, so ChatGPT tests your thinking instead of doing it for you.

Download free PDF →All 91 free prompt books

← All revision guides

Want to revise every topic this smart?

The Velvet Method shows you how to use AI to revise any subject, in six steps.

See the Velvet Method →