Fundamentals of Programming Flashcards
1
Q
What is the definition of Aggregation?
A
Where one class is contained within another class, the contained class can exist independently of the container class.
2
Q
What is the definition of Composition?
A
Where one class is contained within another class, the contained class cannot exist independently of the container class.
3
Q
What is the definition of Inheritance?
A
The procedure in which one class inherits the attributes and methods of another class.
4
Q
What is meant by an heuristic technique?
A
A heuristic approach employs a method of finding a solution that might not be the best.