Question: please solve QUESTION 12 If class A has the following constructor only, then which of the following is correct? public A(int x){...} a. A a
QUESTION 12 If class A has the following constructor only, then which of the following is correct? public A(int x){...} a. A a = A(); Ob. A a = new A(5); OC. A a = A(5); d. A a = new AC
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
