OOP Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

what is encapsulation?

what is a constructor?

A

This is when the attributes and methods are encapsulated into a single entity

a type of function that creates an object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is a class ?

what is instantiation?

A

A class is a blue print of an object

instantion is the process of making an instance of an object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is encapsulation ?
what is polymorphism ?
what is inheritance ?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is overriding?

A

ovvering enables the implementation of a child class to differ from it parent class.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly