What is Signature of a method? Explain with example
Answers
Answered by
1
Answer:
The method signature in the above example is setMapReference(int, int). In other words, it's the method name and the parameter list of two integers. The Java compiler will let us add another method like the above example because its method signature is different, setMapReference(Point) in this case
Similar questions