G
Guest
Hi
Hope ur smart enough to get what i wanna ask ... (from the sub line
Brief Explaination
I've 2 classas Class1 and Class
Now i've an instance of Class2 ( Class2 objC2 = new Class2();
Next i access a method of Class2 (say objC2.func1();
Now in function 'func1()' of Class2 I wanna get the Caller class name ('Class1'
Plz don say me to pass the name of class as an arg in 'func()'; i need som other way ... this is coz Class2 is a central class which is used by many other classes !!
All the Best ...
Hope ur smart enough to get what i wanna ask ... (from the sub line
Brief Explaination
I've 2 classas Class1 and Class
Now i've an instance of Class2 ( Class2 objC2 = new Class2();
Next i access a method of Class2 (say objC2.func1();
Now in function 'func1()' of Class2 I wanna get the Caller class name ('Class1'
Plz don say me to pass the name of class as an arg in 'func()'; i need som other way ... this is coz Class2 is a central class which is used by many other classes !!
All the Best ...