What are class variables in Java.
These are also called static variable. The variables which belong to Class rather than the Object of the Class.
Here same copy of the variable is shared across all the Objects of the class.
You must be logged in to reply to this topic.