This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes What is meant by Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What is meant by "Object... k"" Watch "What is meant by "Object... k"" New topic
Author

What is meant by "Object... k"

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
I came across a syntax in java "Object... k".Please explain about this.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14430
    
  23

It's a method with a variable number of arguments. This is a new feature which was introduced in Java 5.

See this for more info: Java SE 5 - Varargs


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is meant by "Object... k"