File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Integer... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Integer..." Watch "Integer..." New topic
Author

Integer...

Sanjay Izardar
Greenhorn

Joined: Apr 18, 2011
Posts: 19
what is the difference between Integer[] and Integer...
Matthew Brown
Bartender

Joined: Apr 06, 2010
Posts: 4490
    
    8

Integer[] is an array of Integers. Have you studied arrays yet?
Sanjay Izardar
Greenhorn

Joined: Apr 18, 2011
Posts: 19
yes, i have.
Stephan van Hulst
Bartender

Joined: Sep 20, 2010
Posts: 3649
    
  17

Sanjay, there is some confusion because you put the ellipsis (...) at the end of your sentences. This makes it hard to distinguish between the punctuation and the actual Java feature.

You should read about varargs: http://download.oracle.com/javase/1.5.0/docs/guide/language/varargs.html
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3097
    
  33

Stephan van Hulst wrote:Sanjay, there is some confusion because you put the ellipsis (...) at the end of your sentences. l


Nice catch!


Mohamed Sanaulla | My Blog
Matthew Brown
Bartender

Joined: Apr 06, 2010
Posts: 4490
    
    8

Stephan van Hulst wrote:Sanjay, there is some confusion because you put the ellipsis (...) at the end of your sentences. This makes it hard to distinguish between the punctuation and the actual Java feature.

Ah, good one. Yes, if the ellipsis were part of the Integer, then my answer changes. Shows the importance of unambiguous questions!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Integer...