logo

Crowdly

Soit les classes suivantes : public class A { } public class B extends A { ...

✅ 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 ?...

0%
100%
More questions like this

Want instant access to all verified answers on moodle.univ-lr.fr?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!