Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite+ 1
Getter and Setter
How getter and setter protect your data ???? I don't understand😔😓
1 Réponse
+ 3
you have to declare your fields as private so no other class can see it fields. If a other class want to use them it has to use the getter or setter