aspose file tools*
The moose likes Java in General and the fly likes how to give multiple parameters to constant in enum ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to give multiple parameters to constant in enum ?" Watch "how to give multiple parameters to constant in enum ?" New topic
Author

how to give multiple parameters to constant in enum ?

naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 682

how to give multiple parameter to constant in enum ?
in this way it gives error




The Only way to learn is ...........do!
Visit my blog http://inaved-momin.blogspot.com/
Matthew Brown
Bartender

Joined: Apr 06, 2010
Posts: 4240
    
    7

It's exactly the same as calling any other method with multiple parameters. You separate them with commas.
naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 682

Matthew Brown wrote:It's exactly the same as calling any other method with multiple parameters. You separate them with commas.
thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to give multiple parameters to constant in enum ?
 
Similar Threads
iPad
Trying to learn enumerated types of class
iPad. What's the difference?
what is getter/setter in java ?
what is the problem with my java code