Doubt in Inner class
hi ,
i have a doubt. How we can access a Inner class name by the outer class name using the Dot(.) operator .
For example if we want to refer to the Inner class in some other class
then we must say "OuterClass.InnerClass".
This type of syntex is ment for the static methods in a class.
Thus can we assume that Inner class is also a type of static member.
If not then please explain the syntex.
i am also not getting the way we create object of the Inner class object in some other class .(i mean to say the logic behind the syntex)
i.e
OuterClass Ob1=new OuterClass();
OuterClass.InnerClass InnOb=Ob1.new InnerClass();
Cna any one please help me out.
Regards
Arunabh

