What is function signature? Explain with examples.
Answers
Answered by
2
Answer:
A function signature (or type signature, or method signature) defines input and output of functions or methods.
A signature can include:
1)parameters and their types
2)a return value and type
3)exceptions that might be thrown or passed back
4)information about the availability of the method in an object-oriented program (such as the keywords public, static, or prototype).
Explanation:
hope it helps dear plz mark me at brainlist..
Similar questions