what is static data members?
Static data members
Static data members are those which do not take different memory every time when we call the object.
The datamembers declared with static keyword is treated as Constants whose values cannot be changed throughout the program.
1)The memory is allocate in the seprate area called as "context" area.
2)Static data members are accessible without declaring objects.
3)They can be accessible with the class name.