Explain the different static members with examples
Answers
Answered by
0
When we declare a member of a class as static it means no matter how many objects of the class are created, there is only one copy of the static member. A static member is shared by all objects of the class. All static data is initialized to zero when the first object is created, if no other initialization is present
please make me brainlist
Similar questions
Psychology,
7 months ago
English,
7 months ago
English,
7 months ago
Computer Science,
1 year ago
Hindi,
1 year ago
Biology,
1 year ago