View Single Post
Newbie Member
10Mar2008,14:59  
dilip.klose's Avatar
in java a static method can access only static data members but main() is a static method
still it is accessing the instance data members by creating an object of other class.
how can it be possible?"