Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Method declaration syntax Object... os

 
John El
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can some one point me to som documentation on the '...' in this declarattiomn?

public static boolean areAnyOfTheseNull((Object... os)

I can see what it does, but I'm curios to know more.
thanks
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See Varargs to start with. For more detailed information, search the web for "java varargs."
 
John El
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perfect, thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic