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
Can we override final method?
What is private static class in java?
Can a constructor be protected?
How to make a class or a bean serializable?
Can I learn java in 3 months?
What is predicate in java?
What is a void method?
What is classes in java?
What is get () in java?
What are different access specifiers in java? Explain
Write a method that will remove given character from the string?
What's the default access specifier for variables and methods of a class?
Explain the difference between extends thread vs implements runnable in java?
How many types of equations are there?
What is an accessor?