Question: What is the relationship between class A and B? class A { void draw( B objects) { int x = objects.doSomething(); } } class B

What is the relationship between class A and B? class A { void draw( B objects) { int x = objects.doSomething(); } } class B { int doSomething() { return 3; } Realization Association Aggregation Inheritance
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
