Why does the function arguments are called as "signatures"?
Answer Posted / ash
As function name, return type and arguments helps to
identify the function which needs to be invoked hence the
name signatures. In polymorphism there can be function
overload hence args and ret type along with name are required.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between an abstract class and interface in java?
Can an interface have an inner class?
What is abstract method?
Explain about parametric polymorphism?
What is data encapsulation and what's its significance?
Is @functionalinterface annotation mandatory to define a functional interface? What is the use of @functionalinterface annotation? Why do we need functional interfaces in java?
What is the super keyword?
What is the difference between a virtual method and an abstract method?
Why is OOP good?
Write about abstract base classes?
Differentiate between an abstract class and an interface?
What is Polymorphism, overloading, overriding and virtual?
What are the features of encapsulation ?
What are the methods required to create changes in subclasses?
How many methods are there in the serializable interface?