T
trialproduct2004
Hi all
I am having application which has three classes.
in one class say class1, i am having arraylist where i am adding and
removing string.
there is one method in class1 which is creating object of class2 and
calling method of class2.
class2 has one member of type class1.
In class2 i am creating object of class3.
Class3 has member of type class1 which is getting initialized by
class2.
So currently i am calling method of class1 by using object of type
class1 which i am passing from class2 to class3.
is it a correct way of doing this.
If some one know better way of modifying array list of outer call by
calling method of some other class, please tell me.
thanks in advance.
I am having application which has three classes.
in one class say class1, i am having arraylist where i am adding and
removing string.
there is one method in class1 which is creating object of class2 and
calling method of class2.
class2 has one member of type class1.
In class2 i am creating object of class3.
Class3 has member of type class1 which is getting initialized by
class2.
From class3 i want to modify arraylist which i have declared in class1.
So currently i am calling method of class1 by using object of type
class1 which i am passing from class2 to class3.
is it a correct way of doing this.
If some one know better way of modifying array list of outer call by
calling method of some other class, please tell me.
thanks in advance.