This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes pmr Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "pmr" Watch "pmr" New topic
Author

pmr

manohar reddy
Greenhorn

Joined: Oct 13, 2007
Posts: 12
What are the differences between an �Object Array� and an �ArrayList�
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

HI, welcome to the Ranch!

You have a better chance of a meaningful answer if you put effort into your question.

A meaningful topic helps ( I don't know what "pmr" means), as does selecting the correct forum.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 20083
    
  30

Originally posted by manohar reddy:
What are the differences between an “Object Array” and an “ArrayList”

An object array has a fixed size determined when creating it. You can only get and set values.

An array list allows for adding and removing elements, thus changing its size.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: pmr
 
It's not a secret anymore!