---
title: "What is signature defined functions??"  
description: "What is signature defined functions??"  
author: "Dharmesh Rathore"  
published: 2014-10-15  
updated: 2014-10-16  
canonical: https://www.mindstick.com/forum/2385/what-is-signature-defined-functions  
category: "java"  
tags: ["java"]  
reading_time: 1 minute  

---

# What is signature defined functions??

plz tell me

## Replies

### Reply by Anonymous User

A method signature is part of the method declaration. It is the combination of the method name and the parameter list.

The reason for the emphasis on just the method name and parameter list is because of overloading. It's the ability to write methods that have the same name but accept different parameters. The Java compiler is able to discern the difference between the methods through their method signatures.

**Examples:**

```
public void setMapReference(int xCoordinate, int yCoordinate) {   //method code }
```

The method signature is setMapReference(int, int) – i.e., the method name and the parameter list of two integers. The Java compiler will let us add another method like so:

```
public void setMapReference(Point position) {   //method code }
```

because it's method signature is different – setMapReference(Point).\


---

Original Source: https://www.mindstick.com/forum/2385/what-is-signature-defined-functions

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
