This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


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: 19697
    
  20

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
How To Ask Questions How To Answer Questions
 
wood burning stoves
 
subject: pmr