OOP Flashcards
1
Q
encapsulation
A
Encapsulation allows us to write, test and maintain object codes without interfering with other object codes.
/attributes cant be directly assesed or edited
2
Q
polymorphism
A
is the ability of a programming language to process objects differently based on their class. This reduces the volume of code they need to produce.
3
Q
inheritance
A
child class inherits properties and attributes off the parent class
4
Q
what are objects
A
Objects are the basic building blocks of object-oriented programming
5
Q
whats a class
A
Class is the blueprint of an object.
6
Q
what do attributes do
A
give an object’s properties