File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Another question regarding arrays
Joined: Mar 26, 2004
Jun 28, 2004 21:27:00
int newArray = arrayReferencePassedAsMethodParameter.clone();
equals to copying the returned array into a new array? I mean, do I make sure that I dont refer to the reference that could be modified somewhere else?
Thanks in advance,
Joined: Mar 08, 2001
Jun 28, 2004 23:30:00
Yep. It is safe as long as it is an array of primitive datatypes.
<B>Hari Gangadharan</B><BR>Unix is user friendly..<BR>but it chooses to whom it is friendly with!
I agree. Here's the link:
subject: Another question regarding arrays
WA #1.....word association
Sorting an Array
Multi Dimension Array Storing
how many objects will be created.
Widening Reference Conversation
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015