A
Q. class A{
A(String s){}
A(){}
}
class B extends A{
B(){}
B(String s){
super(s);
}
void test(){
// insert code here
}
}
Which of the below code can be insert at line 7 to make clean compilation ?
- Correct Answer - Option(A)
- Views: 12
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.