what is mean by method signature?

Answers were Sorted based on User's Feedback



what is mean by method signature?..

Answer / priya

speicfying access modifier, method name,
arguments are called method signature only
if the return type differnent then also both are called as
same signatured if am not mistaken

Is This Answer Correct ?    7 Yes 0 No

what is mean by method signature?..

Answer / yogesh gandhi

Yes priya, you are right

Return type is not a part of the method signature.

Is This Answer Correct ?    4 Yes 0 No

what is mean by method signature?..

Answer / vijayakumar chinnasamy

Method signature means name of the method ,type of argument
and order of arguments.

The "return type" of method and "access specifier" are not
part of method signature.

Is This Answer Correct ?    3 Yes 0 No

what is mean by method signature?..

Answer / umesh

It means no. of arguments, type of argument ,order of data
type.

Is This Answer Correct ?    2 Yes 0 No

what is mean by method signature?..

Answer / shreya

The only required elements of a method declaration are the
method's return type, name, a pair of parentheses, (), and
a body between braces, {}.

Is This Answer Correct ?    0 Yes 0 No

what is mean by method signature?..

Answer / shreshta

Method signature: void name();
declaring method but not declaring the body of method

Is This Answer Correct ?    0 Yes 0 No

what is mean by method signature?..

Answer / 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

what is mean by method signature?..

Answer / ravi

any one tell the answer

Is This Answer Correct ?    1 Yes 10 No

Post New Answer

More Core Java Interview Questions

what is meant by multicast?

1 Answers  


What is pass by value?

0 Answers  


What is an abstract class and abstract method?

5 Answers  


Java openings 3 - 5 years, Lnt Infotech. requirements - core java, J2ee, struts, hibernate Interview Date:- 19 March 2011 Time:- 9:00 AM to 12:00 Pm Interview Location - L & T Infotech, Manapakkam, Chennai Refererral PS NO:- 291649 (Please mention this when u fill the form only then u will be considered for interview) Documents Required:- Latest Resume, Photograph and last 3 payslips Mail me on vasan2211@gmail.com once u appear for interview

0 Answers   L&T,


Is integer passed by reference in java?

0 Answers  






class A{ some variables; public void a()throws Excepion1,Exception2{....} } class B extends A{ variables... public void a()throws E2,E3{.....} } Qns: here override of methods occurs or not,ore else wil give any compilation error or run properly..plz tell me briefly whts happening with the above codes....

4 Answers   Quinnox,


does core java and j2se both are same?

5 Answers  


what is ABSTRACTION and what are using in real time project?

1 Answers   iGate,


Howmany classes that package java.applet.* contains?

1 Answers   TCS,


what is difference between type 4 driver and type 1 driver?

2 Answers   CMC, CTS, IBM, JK Technosoft, Napier Healthcare,


what is an object and how do you allocate memory to it?

6 Answers   Anshinsoft, Wipro,


What is set in java?

0 Answers  


Categories