✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Soit les classes suivantes :
public class A { }
public class B extends A { }
public class Main {
public static void affiche(A unA) { }
public static void affiche(B unB) { }
public static void main(String[] args) {
A obj = new B();
Main.affiche(obj);
}
}
Lors de l'appel à la méthode affiche
, quelle version est appelée ?...
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!