OOP fundamentals Flashcards

1
Q

Inheritance

A

enables new objects to take on properties of existing objects

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

Single inheritance

A

derived class can only have one parent class

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

Multiple inheritance

A

allows a class to be derived from two or more classes inheriting from memebers of all parents

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

Polymorphism

A

ability to present the same interface for differing underlying forms

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

Tpes of polymorphism

A

Overloading

Overriding

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

Overloading

A

two or more methods with same name but diff signatures

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

Overriding

A

Replacing an inherited method with another having the same signature

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

Abstraction

A

process of defining the essential concepts while ignoring the inessential details

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

Data Abstraction

A

programming language define constructs to simpify the way info is presented to programmer

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

Functional Abstraction

A

programming languages have constructs that gift wrap very complex and low level instructions into much more readable form

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

Object Abstraction

A

OOP languages take the concept farther and abstract programming constructs as objects

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

Accessibility scope

A

boundary of access to a class and its members

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

Encapsulation

A

process of hiding an objects implementation from another object while presenting only the interfaces that should be visible

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