Computer Science, asked by yugal4965, 1 year ago

Explain the different static members with examples

Answers

Answered by pandeysakshi2003
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