Definition of a method signature?

前端 未结 7 1906
萌比男神i
萌比男神i 2020-12-08 10:32

What is the correct definition of a method signature (or a signature of a method)?

On google, I find various definitions:

It is the combinatio

相关标签:
7条回答
  • 2020-12-08 11:24

    The method signature includes following items:

    • The name of the method.
    • The number of parameters.
    • The data types and order of the parameters.

    Note: The return type is not part of the signature.

    0 讨论(0)
提交回复
热议问题