Thread
:
clone method
View Single Post
#
1
(
permalink
)
01-20-2008, 09:47 AM
gapper
Member
Join Date: Jan 2008
Posts: 17
clone method
I have two arraylist and I want to assign oney reference to another. So both can point to the same.
I used the following:
Code:
a2 = a1;
where a1 and a2 are arraylists. It works fine for me. I wanted to know how can I achieve this using clone method?
Regards.
Sponsored Links
gapper
View Public Profile
Send a private message to gapper
Find all posts by gapper