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
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents