what is mean by method signature?

Answer Posted / p.nandakishore

It consists of method name and type of the parameters

void sum(int a,int b){}

sum(int,int) is the method signature

In a class we cannot have two methods with the same method
signature

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is immutable in java?

539


Is empty in java?

580


What is a two-pass assembler?

602


How do you clear a method in java?

538


What is meant by polymorphism?

532






What is the difference between serializable and externalizable interfaces?

565


Is a case study a method or methodology?

462


What is hotjava?

552


Difference between character constant and string constant in java ?

556


If an object reference is set to null, will the garbage collector immediately free the memory held by that object?

635


How arrays are stored in memory in java?

507


How many bytes is a string?

558


Can variables be used in java without initialization?

548


What is the diffrence between inner class and nested class?

558


Explain the features of java?

589