Application Java testant les champs static et non-static.
Ce projet illustre la différence entre un compteur static et un compteur non-static en Java.
(1,4)
- nbLocal = 1 (propre à chaque instance, repart à 0)
- nbInstances = 4 (partagé entre toutes les instances)
- Champs static vs non-static
- Constructeurs
- Instanciation d'objets
- Cloner le projet
- Ouvrir dans IntelliJ IDEA
- Exécuter Main.java
Votre Nom