File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 14104
    
  16

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 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is meant by "Object... k"