Question: what is the type of class interaction between the two classes defined below: public class classA { private int x; } public class classB
what is the type of class interaction between the two classes defined below: public class classA { private int x; } public class classB { private int y; //constructor public classB (...) { } public void methodA (classA A) { }
Step by Step Solution
3.42 Rating (161 Votes )
There are 3 Steps involved in it
Answer The provided code defines two classes classA and classB but the interactions between them are ... View full answer
Get step-by-step solutions from verified subject matter experts
