In object oriented programming, a static variable is a variable which belongs to the class and not to object(instance) & a single copy to be shared by all instances of the class.
In object oriented programming, a static variable is a variable which belongs to a class rather than to a particular instance of the class.