✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
class X {
void afficher() {
System.out.println("X");
}
}
class Y extends X {
void afficher() {
System.out.println("Y");
}
}
class Z extends Y {
void afficher() {
super.afficher();
}
}
public class Test {
public static void main(String[] args) {
Z obj = new Z();
obj.afficher();
}
}
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!