Professional Documents
Culture Documents
java
public class A {
public void xyz() {
}
}
B. The calls will be made in the following order: A's constructor, B's constructor, A's xyz method,
B's xyz method
C. The calls will be made in the following order: B's constructor, A's constructor, B's xyz method
INCORRECTLY ATTEMPTED
D. The program will give a run time error