Question: For the following statement C 1 b = new C 2 0 ; what do you think about the statement b . M 1

For the following statement C1b= new C20; what do you think about the statement "b.M1(5L):"?
It is error
It calls M1(long) from C2
It calls M7(int) from C1
None of the above
For the following statement C 1 b = new C 2 0 ;

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 Programming Questions!