Thread: clone method
View Single Post
  #1 (permalink)  
Old 01-20-2008, 09:47 AM
gapper gapper is offline
Member
 
Join Date: Jan 2008
Posts: 17
gapper is on a distinguished road
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.
Reply With Quote
Sponsored Links