wood burning stoves*
The moose likes Beginning Java and the fly likes How to compile and run this enum class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to compile and run this enum class" Watch "How to compile and run this enum class" New topic
Author

How to compile and run this enum class

rizwana mujawar
Ranch Hand

Joined: Feb 24, 2012
Posts: 36
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

Joined: Jan 10, 2002
Posts: 61766
    
  67

On which line are you emitting the expected output?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61766
    
  67

P.S. It's spelled coffee (two f's)
Md. Minhajur Rahman
Ranch Hand

Joined: Apr 10, 2012
Posts: 33
Hi, May be You have missed to call ... System.out.print(c.size);
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to compile and run this enum class