Computer Science, asked by ggi20201107, 14 days ago

What are static variables? Give Examples?​

Answers

Answered by Anonymous
2

Answer:

The static variable can be used to refer to the common property of all objects (which is not unique for each object), for example, the company name of employees, college name of students, etc. The static variable gets memory only once in the class area at the time of class loading.

Similar questions