Computer Science, asked by wajahatkincsem6081, 1 year ago

When Method Overriding occurs in Java?

Answers

Answered by jaswanth200518
1

Method overriding in java with example. Declaring a method in sub class which is already present in parent class is known as method overriding. Overriding is done so that a child class can give its own implementation to a method which is already provided by the parent class.

Similar questions