An enumeration, or enum for short, is a special data type that consists of a list of named constants. The number of values that an enum contains is fixed at the time the enum is defined; in other words, you cannot add or remove enum values dynamically throughout your program. Enumerations are quite commonly used to control switch and if statements, but they can be used in other flow control loops as well. You may also hear them referred to as enumerated lists.
Sur cette page du site, vous pouvez voir la vidéo en ligne Learn Java Programming - Enum (Enumerations) Introduction durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Daniel Ross 10 janvier 2016, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,372 fois et il a aimé 21 téléspectateurs. Bon visionnage!