Top Categories
7.15 Count Number of Objects of Class in Java
- Category:
- Sub Category:
An object variable is a container that holds a reference to a specific instance of a class. Class variable is variable which is shared among the objects. Class variable can be used by using static keyword for the variable.