Thursday, July 08, 2004

 

Static Members of a class









Static Members of a class

A static member of a class can be accessed without creating an instance of
the class... Everyone knows this right!! so what's next...??
A static member cannot be marked as abstract or virtual, trying to do so
will result into an error...
Inside a static member you cannot call any non-static member, trying to do
so will also result in an error...

regards,
Mitesh Mehta



Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?