This content has been marked as final. Show 4 replies
u can use get the object from the arraylist by using the getter methods and assign it to a Object pointer of the Class type by typecasting it and then use the object to do whatever u want with it,
u can use something like this
1. int index=def.lastIndexOf(<object>);
2. Appointment abc =(Appointment)def.get(index);
and if u know the index of the object in the arraylist u can skip line 1.