---
title: "What are the rules (method access permission and exception) that needs to be followed, during method overloading and overriding ?"  
description: "What are the rules (method access permission and exception) that needs to be followed, during method overloading and overriding ?"  
author: "Anonymous User"  
published: 2015-07-01  
updated: 2020-09-18  
canonical: https://www.mindstick.com/interview/2669/what-are-the-rules-method-access-permission-and-exception-that-needs-to-be-followed-during-method-overloading-and-overriding  
category: "java"  
tags: ["java"]  
reading_time: 1 minute  

---

# What are the rules (method access permission and exception) that needs to be followed, during method overloading and overriding ?

During **method Overloading**, method name should remain same. But method signature can vary. Components of signature that can vary are:1.Number of arguments2.Datatype of arguments3.Order of arguments\
During **method Overriding**, make sure that the method is not throwing checked exceptions that are new or higher than those declared by the overridden method.But we can't override Static and Final methods.

## Answers

### Answer by Anonymous User

During **method Overloading**, method name should remain same. But method signature can vary. Components of signature that can vary are:1.Number of arguments2.Datatype of arguments3.Order of arguments\
During **method Overriding**, make sure that the method is not throwing checked exceptions that are new or higher than those declared by the overridden method.But we can't override Static and Final methods.


---

Original Source: https://www.mindstick.com/interview/2669/what-are-the-rules-method-access-permission-and-exception-that-needs-to-be-followed-during-method-overloading-and-overriding

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
