Which describes the effect of applying the protected accessibility modifier to a method?

Which describes the effect of applying the protected accessibility modifier to a method?

Which describes the effect of applying the protected accessibility modifier to a method?

A.
The method is available to all classes derived from the declaring class.

B.
The method is available only to other methods in the same class.

C.
The method cannot be overridden in child classes.

D.
The method is available only to classes in the same assembly.



Leave a Reply 1

Your email address will not be published. Required fields are marked *