Multiple Choice
Which of the following is not true about declaring references to objects of other classes inside a class definition?
A) These references can be initialized inside the class definition.
B) Each reference only requires enough memory to store the memory address of the object it references.
C) If the class names for the other objects are used only to declare references, a forward declaration can be used to tell the compiler that the class name represents a type.
D) These references can represent directional associations from a UML class diagram.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions