<<< Constructor Invocation | Index | Static Member Example >>> |
Attribute whose value is common to all objects of the class
is considered to be an attribute of the class.
Class attribute represents a value that is global within all objects of that class.
Class attributes are defined as static data members.
Method that accesses only its local parameters and class attributes
is considered to be a method of the class.
Class methods are defined as static member functions.
<<< Constructor Invocation | Index | Static Member Example >>> |