PrepAway - Latest Free Exam Questions & Answers

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?

PrepAway - Latest Free Exam Questions & Answers

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.

One Comment on “Which describes the effect of applying the protected accessibility modifier to a method?


Leave a Reply