What is true when doing the implementation of the following class diagram? Figur
ID: 3834974 • Letter: W
Question
What is true when doing the implementation of the following class diagram?
Figure9.1.pdf
The implementation of A may contain an attribute a of class B;
The implementation of B should contain an attribute a of class A;
The implementation of methodB() should contain the reference a;
Class B makes use of class A;
The implementation of A may contain an attribute a of class B;
The implementation of B should contain an attribute a of class A;
The implementation of methodB() should contain the reference a;
Class B makes use of class A;
A B methodA( ) methodB( )Explanation / Answer
The implementation of B should contain an attribute a of class A;
Since A--->B with an attribute a, thats why
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.