Can I override private method ?

No, We can't override private method because when super class method is private that will be visible to subclass whenever the methods we are writing in subclass will treated as a new method and not an overridden method. 
So we can't override a private method.


Post a Comment