Computer Science, asked by 33shambhavi, 1 month ago

dash and subclass of others package

Answers

Answered by neerajbhuvi
2

Answer:

Protected methods can only be accessible through inheritance in subclasses outside the package. And hence the second approach tryMeProtected(); works.

Similar questions