(Question from "The Complete
Java 2 Certification Guide" book)
public class
Test extends Base{
public Test(int i){}
public Test(int j, int k) {
super(j,k)
}
}
What are the constructors must exist explicitly in the Base class?
a) Base(){}
b) Base(int j){}
c) Base(int j, int k){}
d) Base(int j, int k,int l){}
Answers (a) and (c).
Why we need option (a)? Please explain.
Thanks in advance.