What is the basic use of introducing static variable type in java?Please explain clearly....
The Static means that a certain object/variable is resident in memory and accessed each time an instance of a class, an object, is created.
When static is applied to member variables, it means that the static variable is shared among all instances of the class.
When static is applied to methods, the static keyword means that the specified method of the object can be accessed directly, without the need for an instance of that object.
For more information, visit the following link: