Interview Question
Qus: What is the purpose of static methods and variables?
Answers (1)
For example, In the class simulating the collection of the students in a college, the name of the college is the common attribute to all the students. Therefore, the college name will be defined as static.