Zusammenfassung der Ressource
Frage 1
Frage
Which of the following are types of aggregation?
Antworten
-
Composition
-
Inheritance
-
Association
-
Instantiation
Frage 2
Frage
The principals behind composition aggregation is:
Antworten
-
Have classes take over the attributes of other classes, based on a "is" relationship
-
Have classes linked to other classes based on a "do" relationship where one cannot survive without another
-
Have classes linked to other classes based on a "do" relationship where one can survive without another
Frage 3
Frage
Object oriented programming is based on:
Antworten
-
Encapsulating what varies
-
Favour inheritance over composition
-
Program to interfaces, not implementation
-
Overriding methods
Frage 4
Frage
A class is an instantiation of an object
Frage 5
Antworten
-
Yes
-
Very yes
-
No
-
Very no
-
Meh
-
I don't care