aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes ENUM problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "ENUM problem" Watch "ENUM problem" New topic
Author

ENUM problem

sharma ishu
Ranch Hand

Joined: Sep 10, 2012
Posts: 70
Can an ENUM be invoked using “java” command? If yes, please explain how.
Swastik Dey
Rancher

Joined: Jan 08, 2009
Posts: 1477
    
    6

http://docs.oracle.com/javase/tutorial/java/javaOO/enum.html


Swastik
John Jai
Bartender

Joined: May 31, 2011
Posts: 1776
Yes, you can invoke an enum that has a main function.

Sample enum:


sharma ishu
Ranch Hand

Joined: Sep 10, 2012
Posts: 70
thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ENUM problem