L
lucia.roibal
Say, I do the follow,
Date d=new Date();
ArrayList<Data> alist= new ArrrayList();
alist.add(d);
//modify d
will the element d in the alist also modified?
Date d=new Date();
ArrayList<Data> alist= new ArrrayList();
alist.add(d);
//modify d
will the element d in the alist also modified?