This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
As far as a method with single parameter is concerned not much difference is involved. However few good points can be consider in case of ELLIPSIS(...)
1) There can be ONLY ONE ellipsis parameter in the method and which MUST be the last parameter. There in no such restriction for String version
2) It can be analysed using int printf(String,...) method of C Programming in which it can accept variable number of arguments. like printf("%d",1);printf("%d%f",1,1.0);
3) Elipsis provide a way to define single method defination for variable argument calls with ZERO TO 'N' number of arguments of same or type that can be IMPLICITLY CASTED to that parameter.
4) Ellipsis version comes with 5.0 version.
5) Ellipsis provides more freedom as compare to array version.
Jeanne Boyarsky wrote:I tend to use String... because it's faster to type.
Really? ... is 3 characters while  is 2 located directly next to each other on most keyboards. I also tend to use ... though.
Yes. But it is faster to touch type the same character three times than two different characters. Also, the dot character is in a position easier to reach while touch typing than the  because I have to move my finger a good distance to get to the "]". Which often requires me to look at the keyboard further reducing speed.