7.Which of the following statements about class variables in Java is
not true?
(a) Class variables require the modifier static in the declarations.
(b) All objects have their own copy of the class variable defined in
the instantiated class.
(c) Non-static methods in a class can access the class variable
defined in the same class.
(d) Class variables do not need the reference to the object of the
instantiated class to access them.
qq_青枣工作室_0
相关分类