React.js
Angular
Ethical Hacking
Agile
AWS
BlockChain
Cassandra
Cloud
Salesforce
Scaled Agile
TOGAF
DevOps
GIT
Jenkins
Jira
Kibana
Linux
NGINX
Ansible
Artificial Intelligence
in JAVA by
What is meant by Method Overriding?

Method overriding happens if the sub class method satisfies the below conditions with the Super class method:

Method name should be same

Argument should be same

Return type also should be same

The key benefit of overriding is that the Sub class can provide some specific information about that sub class type than the super class.
Click here to read more about DevOps

Related questions

Madanswer
0 votes
asked May 24, 2019 in JAVA by rajeshsharma
0 votes
asked May 24, 2019 in JAVA by rajeshsharma
...