✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
On vous donne la classe suivante :
class Humain {
String nom;
String prenom;
int age;
public Humain (String leNom, int unage) {
nom = leNom;
age = age;
prenom = "Maurice";
}
public void ajouterUnAn() {
age = age+1;
}
public int lireAge() {
return age;
}
}
Auteur : Benoit Darties
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!