0 LIKES LikeUnLike
Look at the following code. The method in line _______ will override the method in line _______.Line 1 public class ClassALine 2 {Line 3 public ClassA() {}Line 4 public int method1(int a){}Line 5 public double method2(int b){}Line 6 }Line 7 public ClassB extends ClassALine 8 {Line 9 public ClassB(){}Line 10 public int method1(int b, int c){}Line 11 public double method2(double c){}Line 12 } a. 10, 4 b. 11, 5 c. Both a and b d. None of the above
Tags:
Report (0) (0) | earlier
Latest activity: earlier. This question has 2 answers.