• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to compile and run this enum class

 
rizwana mujawar
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iam not getting any output... Its compiling... But there is no output... I should get "SMALL" as output... What to do...? Need Help... Here is my code...



Thanks!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65124
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On which line are you emitting the expected output?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65124
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
P.S. It's spelled coffee (two f's)
 
Md. Minhajur Rahman
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, May be You have missed to call ... System.out.print(c.size);
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic