Hi all experts ...
I have a question ....
How can i call a function of Class A from Class B without creating any objects,static menthds or using any inheritance..
like if class A has a variable of classB then classB can call a method of class A....
explanatory code:
class A
{
method A ()
//how to define Var of Class B
}
class B
{
// how to call method of class A here
}
Thanks and regards ...