Collection and sharing of, interview questions and answers asked in various interviews, faqs and articles.....
Core Java : What is the difference between static and non-static variables?
A static variable is associated with the class as a whole rather than with specific instances of a class. Nonstatic variables take on unique values with each object instance.
No comments:
Post a Comment