This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Small Bug : In Var-Args Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Small Bug : In Var-Args" Watch "Small Bug : In Var-Args" New topic

Small Bug : In Var-Args

Sandeep Vaid
Ranch Hand

Joined: Feb 27, 2006
Posts: 390
In K&B book : p-47
"Basic syntax To declare a method using a var-arg parameter, you follow the
type with an ellipsis (...), a space, and then the name of the array that will
hold the parameters received."

The Space is not required.
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
Check this thread.
I agree. Here's the link:
subject: Small Bug : In Var-Args
Similar Threads
final modifier in variable
Initializing final arguments
is following Programming(Blocks) style correct in Java?
Problem in printing data in JSP
Inializing a Final Variable