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