File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes parameters/arguments Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "parameters/arguments" Watch "parameters/arguments" New topic


Ripan Karmakar

Joined: Jul 28, 2004
Posts: 16
What is limitation (mean max)of parameters/arguments that can be passed to a function???

"Strenght is Life and Weakness is Death"<br />Java/J2EE Developer<br />UshaComm Pvt. Ltd, Kolkata, INDIA
Nanda Kishore

Joined: Aug 17, 2003
Posts: 9
If you mean, the maximum number of arguments that can be passed to a method, then I think it is 256.
Eddie Vanda
Ranch Hand

Joined: Mar 18, 2003
Posts: 281
This fails on 255 parameters, but 254 (0 to 253) does compile on 1.5

While this is very therapeutic (it's late in the evening for me) I consider this extremely bad programming.

The nice thing about Standards is that there are so many to choose from!
I agree. Here's the link:
subject: parameters/arguments
jQuery in Action, 3rd edition