What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-12 16:45:25
what is static variable
The static variable is used to refer to the common property of all objects (that is not unique for each object), e.g., The company name of employees, college name of students, etc. Static variable gets memory only once in the class area at the time of ... Add solution