Can someone help me to understand this code? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Can someone help me to understand this code?

https://code.sololearn.com/cXOdlkolRuO7/?ref=app

14th Feb 2019, 1:45 PM
Zumerish
Zumerish - avatar
3 Antworten
+ 1
It has a class called freshjuice with an emum called freshjuicesize and a size class variables. Then you are initializing the class in the main method. Finally you assign the initialized freshjuice object's size to MEDIUM
14th Feb 2019, 2:37 PM
Seniru
Seniru - avatar
0
Seniru Pasan can u explain the statement on line 9
14th Feb 2019, 2:55 PM
Zumerish
Zumerish - avatar
0
Zumerish that is the initialization of the object of the class FreshJuice
14th Feb 2019, 3:12 PM
Seniru
Seniru - avatar