Please UseCodeTags when posting code. It will highlight your code and make it much easier to read. It probably will also increase the number of people helping you. I'll add them for you since you are new so that you can see the difference.
I would advice you to read this great topic about this matter. If you are still confused then please ask away.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
m still confused...
initially if both the "sa" parameters have been Autoboxed to Integer then why not the method doStuff(Integer...i) has been invoked here..? Please help.
Wouter Oet wrote:Hi and welcome to the JavaRanch.
Please UseCodeTags when posting code. It will highlight your code and make it much easier to read. It probably will also increase the number of people helping you. I'll add them for you since you are new so that you can see the difference.
I would advice you to read this great topic about this matter. If you are still confused then please ask away.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
swaraj gupta wrote:
m still confused...
initially if both the "sa" parameters have been Autoboxed to Integer then why not the method doStuff(Integer...i) has been invoked here..? Please help.
Swaraj, Array ia an Object and not an Integer.
<edit>
Wouter beat me by 2 minutes
swaraj gupta wrote:
m still confused...
initially if both the "sa" parameters have been Autoboxed to Integer then why not the method doStuff(Integer...i) has been invoked here..? Please help.
Swaraj, Array ia an Object and not an Integer.
<edit>
Wouter beat me by 2 minutes
What do you have in that there bucket? It wouldn't be a tiny ad by any chance ...