Assume there is a class Bouncer with a protected variable. Methods in which class can access this

Question:

Assume there is a class Bouncer with a protected variable. Methods in which class can access this variable?

A. Any subclass of Bouncer or any class in the same package as Bouncer

B. Any superclass of Bouncer

C. Only subclasses of Bouncer

D. Only classes in the same package as Bouncer

E. None of the above

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: