Which of the following statements is NOT true in Java?[Fill in the blank]单项选择题

题目图片
A

a. A method declared as private is only accessible within the same class.

B

b. A field of an object exists while the object exists.

C

c. The scope of a local variable is within the block in which it is defined, starting from the line it is defined.

D

d. A local variable with the same name as a field will cause a compiler error.

E

e. None of the above

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!