J2SE Question:

Download Job Interview Questions and Answers PDF

What is class variable?

J2SE Interview Question
J2SE Interview Question

Answer:

A data item associated with a particular class as a whole--not with particular instances of the class. Class variables are defined in class definitions. Also called a static field. See also instance variable.

Download J2SE Interview Questions And Answers PDF

Previous QuestionNext Question
What is classpath?What is class method?