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.
Subscribe to:
Post Comments (Atom)
Welcome to techInterview, a site for technical interview questions, and other things that make you think!
0 comments:
Post a Comment