Week 9 note (Object Oriented Programming) Flashcards

1
Q

A language that is object-oriented must provide support for 3 key language features:

A

abstract data types, inheritance, and a special type of dynamic binding.

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

Inheritance offers a solution

A

the modification problem posed by data type reuse and the program organization problem.

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

derived class or subclass

A

A class that is defined through inheritance from another class

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

parent class or superclass

A

A class form which the new class is derived

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

methods?

A

The subprograms that define the operations on objects of a class

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

virtual class.

A

Any class that includes at least one virtual method

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