Aaban Tariq
Lurker
Look, actually if, some how, you get the reference of A's activity. Then you can perform your task. So maintain some Array of Activity Type. Store Activities reference in that array by using this keyword. use this array now to either finish some particular activity or whatever you want to do with that activity