A static variable is associated with the class as a whole rather than with specific instances of a class. Non-static variables take on unique values with each object instance.
Liked By
Write Answer
What is the difference between static and non-static variables?
Join MindStick Community
You have need login or register for voting of answers or question.
Sumit Kesarwani
26-Aug-2014A static variable is associated with the class as a whole rather than with specific instances of a class. Non-static variables take on unique values with each object instance.