wood burning stoves 2.0
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: 63224
    
  69

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: 63224
    
  69

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: How to compile and run this enum class
 
It's not a secret anymore!