can we override protected method in java

Java Clear Concepts: Can we override protected method?

Protected method can be overridden by subclass. What are permitted access specifiers of sub class overridden method when super class method is protected? Discussed clearly with Example and Screenshot for a Beginner. The answer for the question is "YES". "protected" methods of super class can be overridden by subclass (but…