Object Oriented Programming Flashcards

1
Q

Class

A

Class defines set of attributes and methods that object will have

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

Object

A

contains data (attributes) and behaviour (methods) defined by class

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

Polymorphism

A

Objects take different forms. Increase flexibility of program

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

Inheritance

A

Creation of new class based on existing class es. reduce code duplication

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

Associations

A

St relationship between classes, indicates that are class is somehow connected to another class.

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

Aggregation

A

composite relationship where one class (whole) has a collection of instances of another class (parts), but parts can exist outside the whole

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