Is it possible overriding the method to change its access modifier from the "package-private" to "protected"?
Explanation
Since the protected modifier imposes fewer restrictions than the default access modifier, such redefinition is allowed.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback