Class1 Session 12
Class1 Session 12
In figure,
Variable1,
Variable2 etc are
normal variables
Static Member Functions
• can be called even if no objects of the class
exist and thestatic functions are accessed
using only the class name and the scope
resolution operator ::.
• can only access static data member, other
static member functions and any other
functions from outside the class.