Syntaxe
type nomdeclasse ()
{ //Attribut
type nom_attribut1;
type nom_attribut2;
......
type nom_attribut N;
// Constructeur(s)
nomdeclasse()1;
nomdeclasse()2;
.....
nomdeclasse()N;
// Méthodes(s)
type nomdemethode()1;
type nomdemethode()2;
.....
type nomdemethode()N;
}
Aucun commentaire:
Enregistrer un commentaire