What is access scope of protected method

What is access scope of protected method

Answer : When you define any method precede with protected key work it will below scope :

Access Levels

Modifier Class Package Subclass World
protected Y Y Y N

Leave a Reply

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