🎴 Flashcard Mode
Java Programming Fundamentals and OOP
Card1 / 20
Mastered0
Review0
QuestionClick to flip
Who can access a method if it is marked as protected internal ?
AnswerClick to flip back
A
Classes within the same assembly, and classes derived from the declaring class.
💡 Explanation:
In C#, protected internal is an "OR" access modifier. It allows access from any code within the same assembly, as well as from any derived classes even if they reside in a different assembly. Distractors like "both" (intersection) or "only same class" (private) incorrectly restrict this access.