I having Two class(ClassA,ClassB).From ClassB i have to call a method of ClassA while calling that method i have to pass my ClassB object and i need to receive it in ClassA.Method in ClassA is a static method.How can i pass an Object in a method?
if any one knows please help me..
I having Two class(ClassA,ClassB).From ClassB i have to call a method of ClassA while
Share
You pass the reference of the ClassB by sending
selfas parameter to a method in ClassA.In ClassA,