Object Oriented Programming Flashcards
1
Q
Class
A
Class defines set of attributes and methods that object will have
2
Q
Object
A
contains data (attributes) and behaviour (methods) defined by class
3
Q
Polymorphism
A
Objects take different forms. Increase flexibility of program
4
Q
Inheritance
A
Creation of new class based on existing class es. reduce code duplication
5
Q
Associations
A
St relationship between classes, indicates that are class is somehow connected to another class.
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