what is mean by method signature?

Answer Posted / geetha

speicfying access modifier, return type, method name,
arguments are called method signature
eg:

public void add(int a,int b)---method signature of the
method

public void add(int a,int b)
{
return (a+b);
}

correct me if i am wrong.

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain methods specific to list interface?

551


What's the difference between int and integer in java?

529


Explain about interthread communication and how it takes place in java?

540


List types of storage classes in java?

615


Which method must be implemented by all threads?

717






How do you create a first line indent?

505


What is your platform?s default character encoding and how to know this?

1753


Explain different types of thread priorities ?

621


I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?

569


How do you invoke a method?

537


How do you print array in java?

552


Why is java architectural neutral?

613


Which software is used for java programming?

550


Why collection doesn’t extend cloneable and serializable interfaces?

638


What is the difference between the file and randomaccessfile classes?

528