A sub-class has no access to private instance variables of its super class.判断题
A
True
B
False
登录即可查看完整答案
我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。
类似问题
When using inheritance, fields of the superclass are typically declared as:
The protected access modifier allows access from:
Question at position 3 Consider the following class declarations. Which of the following best describes why an error occurs when the classes are compiled?The class Alpha does not have a defined constructor.The class Beta must be declared as a subclass of Alpha.The answer method cannot be accessed from a class other than Alpha.The result of the method call item.answer() cannot be assigned to a variable of type double.
____________ access modifier is only visible in parent and child class, but not in other packages.
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!