Object-Oriented Programming Concepts (AQA A-Level Computer Science): Flashcards

📚Flashcards
Object-Oriented Programming Concepts
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

10 cards from this deck

Show

Encapsulation in OOP

Keeping data and code together within the same object

Class in OOP

Blueprint/template defining properties and methods of objects

Object in OOP

Specific instance of a class with unique data values

Inheritance key rule

Can add features but cannot delete what's been inherited

Polymorphism

Method from base class can be redefined in subclasses

Overriding

Subclass implements its own version of inherited method

Instantiation

Process of creating an actual object from a class definition

Constructor

Special subroutine that initialises object with start values

Composition aggregation

Contained objects cannot exist if container is destroyed

Association aggregation

Contained objects can exist independently of container

Join 100,000+ A-Level students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.