4. |
What is the output of the following program?
class SuperClass {
int i, j;
SuperClass(int i, int j) {
this.i = i;
this.j = j;
}
SuperClass() {
this(2, 3);
}
}
public class Question extends SuperClass {
public Question() {
System.out.println(i + j);
}
public static void main(String[] args) {
new Question();
}
}
Please select the best answer.
|