• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ENUM problem

 
sharma ishu
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can an ENUM be invoked using “java” command? If yes, please explain how.
 
Swastik Dey
Rancher
Posts: 1602
5
Android Java Java ME
 
John Jai
Rancher
Posts: 1776
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you can invoke an enum that has a main function.

Sample enum:


 
sharma ishu
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic