aspose file tools*
The moose likes Beginning Java and the fly likes does array an object ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "does array an object ?" Watch "does array an object ?" New topic
Author

does array an object ?

Jenny raj
Ranch Hand

Joined: May 19, 2005
Posts: 57
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343



"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
edirg559
Greenhorn

Joined: Apr 19, 2006
Posts: 19
Very nice example of code.
It returns a true on my screen.
So that means it is an object, isn't it
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Originally posted by Erik Dirgaria:
...So that means it is an object, isn't it

Absolutely! (It's also a hint that writing test code is often the best way to answer questions.) Here a a couple of references from the Java Language Specification to back this up.

"In the Java programming language arrays are objects..." ~10 Arrays

"An object is a class instance or an array." ~4.3.1 Objects
Jenny raj
Ranch Hand

Joined: May 19, 2005
Posts: 57
Hi marc

Thanks for clearing my doubt
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: does array an object ?