OOP Flashcards
what is encapsulation?
what is a constructor?
This is when the attributes and methods are encapsulated into a single entity
a type of function that creates an object
what is a class ?
what is instantiation?
A class is a blue print of an object
instantion is the process of making an instance of an object
what is encapsulation ?
what is polymorphism ?
what is inheritance ?
encapsulation bind together attributes and methods , to mainulate data
polymorphism is the process of inhertting from a parent class , however has different set of methods.
Inheritance is that inherits the attributes and methods of the original (parent) class.
what is overriding?
ovvering enables the implementation of a child class to differ from it parent class.