✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Parmi les 4 affectations présentes dans le main, combien sont incorrectes ?...
class Animal { }class Mammifere extends Animal { }class Reptile extends Animal { }class Felin extends Mammifere { }class Zoo { public static void main(String[] args) {Animal a = new Felin();
Mammifere m1 = a;
Felin f = (Felin) a;
a = m1;
}}
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!