Organizational Research By

Surprising Reserch Topic

when do you use varargs in java


when do you use varargs in java  using -'java,varargs'

I'm afraid of varargs. I don't know what to use them for.

Plus, it feels dangerous to let people pass as many arguments as they want.

What's an example of a context that would be a good place to use them?
    

asked Sep 9, 2015 by VonNeedhamjg
0 votes
11 views



Related Hot Questions

8 Answers

0 votes
NULL
answered Sep 9, 2015 by Kristina9175
0 votes
NULL
answered Sep 9, 2015 by GraBowen
0 votes
NULL
answered Sep 9, 2015 by GladysDemwm
0 votes
NULL
answered Sep 9, 2015 by BryanWroblew
0 votes
NULL
answered Sep 9, 2015 by AndersonZFEF
0 votes
NULL
answered Sep 9, 2015 by ConcepcioTau
0 votes
NULL
answered Sep 9, 2015 by GaiMccain
0 votes
NULL
answered Sep 9, 2015 by LinetteHasse

...