猿问

求大神帮忙看一下

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. 


KKchng
浏览 995回答 1
1回答

qq_青枣工作室_0

选B对象里是没有类变量的副本的。
随时随地看视频慕课网APP

相关分类

Java
我要回答