This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
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
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply 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: 675

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: 3865
    
    1

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: 675

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
what is the problem with my java code
what is getter/setter in java ?
iPad. What's the difference?
iPad
Trying to learn enumerated types of class