What is Overriding? Ans. When a class defines a method using the same name, return type, and arguments as a method in its superclass, the method in the class overrides the method in the superclass. When the method is invoked for an object of the class, it is the new definition ...
See more
Download the Study24x7 App, so you can connect and collaborate.