Java's "package-private" (no modifier) visibility:
- Acheck_circle
Visible only within the same package
- B
Visible to current class only
- C
Visible to subclasses only
- D
Visible to all
Explanation
Default access: package-only.
AP Computer Science A· difficulty 4/5
Java's "package-private" (no modifier) visibility:
Visible only within the same package
Visible to current class only
Visible to subclasses only
Visible to all
Explanation
Default access: package-only.
Want 10 more like this — adaptive to your weak spots?