Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

overwriting entire array in java ?

807600Jun 26 2007 — edited Jun 27 2007
Hi,

is it possible to overwrite a whole array java ? It seems I can only replace each cell individually, ie: myaray[3][4] = 32, or replace it with another array ie: myarray = newarray....

In javascript I was able to just say myarray[3] = [newdata,newdata,newdata] ... but I don't seem to be able to do that in java ?

making multiple arrays is giving me memory problems...

tthanks...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 25 2007
Added on Jun 26 2007
5 comments
3,595 views