問題文
A field carries the access modifier that sits between the widest and the narrowest of the four levels. Which reach does that modifier grant?
選択肢
- The modifier lets the field be read from code inside its own package and also from friends listed by a build descriptor file that sit outside of it.
- The modifier lets the field be read from code inside its own package and also from callers holding an explicit import that sit outside of it.
- The modifier lets the field be read from code inside its own package and also from heirs of a class where it was declared that sit outside of it.
- The modifier lets the field be read from code inside its own package and also from types living in a nested scope that sit outside of it.