Scope and Access - AP Computer Science A

Card 1 of 30

0
Didn't Know
Knew It
0
1 of 3029 left
Question

Which access modifier allows subclass and package access?

Tap to reveal answer

Answer

protected. Provides inheritance access while maintaining some encapsulation.

← Didn't Know|Knew It →