Tuesday, November 29, 2011

What are static variables?

Variables that have only one copy per class are known as static variables. They are not attached to a particular instance of a class but rather belong to a class as a whole. They are declared by using the static keyword as a modifier.
Category:Core Java Interview Questions

No comments:

Post a Comment