hey mallik..
a static member can be accessed either by
*) obj.staticmethodname();
*) classname.staticmethodname();
this is because there is no use of creating an object to that class in order to call the static method. if u create 100 objects of that class and make changes to the static method by one among the 100 objects, then all the rest of the 99 objects will also get changed automatically. the
word static holds the meaning of being same through out the class, irrespective of how many objects modify it. so ultimately there is no use of creating an object and accessing a static method. that is the reason why ppl say that static member belong to the class and not objects.
and eg:
i hope u got it cleared...