Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting size of Array dynamically..

Status
Not open for further replies.

patnim17

Programmer
Jun 19, 2005
111
US
Hi,
Can we set the ssize of Array Dynamically in java?

nims
 
Once an instance of an array has been created, its size is immutable. If you need resizable data-structures, use the Collections Framework instead (ArrayList etc).

Tim
---------------------------
"Your morbid fear of losing,
destroys the lives you're using." - Ozzy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top