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

please solve please solve QUESTION 12 If class A has the following constructor only,

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!