Question: Consider the following classes: public class Test 1 { public void method 1 ( Test 2 v 1 , Test 3 v 2 ) {

Consider the following classes:
public class Test1{
public void method1(Test2 v1, Test3 v2){
//method body not shown
}
}
public class Test2 extends Test1{}
public class Test3 extends Test2{}
The following initializations appear in a different class:
Test t1= new Test1();
Test t2= new Test2();
Test t3= new Test3();
Which of the following is a correct call to method1?

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!