Deklarera public enum Volume som ska inne hålla Low, Medium & High. I main skapar du sedan en instans av enum typen Medium. Gör sedan en switch meny som gör olika val baserat på enum värdet.
by-c-2019 / enum Goto Github PK
View Code? Open in Web Editor NEW⭐️ Kort träning i enums