• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

how many parameters MAX ?

Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,
Where all the women are strong, all the men are good looking and all the tiny ads are above average:
SKIP - a book about connecting industrious people with elderly land owners
    Bookmark Topic Watch Topic
  • New Topic