user image

Pooja Sharma

Job Interview Skills
English
2 years ago

65. What is the difference between static and non-static variables?

user image

Abhishek Mishra

2 years ago

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.

Recent Doubts

Close [x]