• Post Reply Bookmark Topic Watch Topic
  • New Topic

how many parameters MAX ?  RSS feed

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I was asked to review someone's code .. I saw somewhere the guys were even passing parameters more than even 10 to 15.
What I am wondering..
1. I know java spec does not have any restriction on number of parameters to passed to a method.
2. Will it be really healthy to pass huge number of parameters ?
3. Down the line all the parameters will be pushed on to the stack.. Will it be not lots of stack operations involved ?

Can anyone highlight on number of parameters passing to a method ?
Thanks in Advance,
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!