File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 692

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: 4490
    
    8

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

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 ?