1.

What is role of static keyword on class member variable?

Answer»

A static variable does exit though the objects for the respective class are not created. Static member variable share a common memory across all the objects created for the respective class. A static member variable can be referred using the class name itself.



Discussion

No Comment Found