What is a method signature? [duplicate]
问题 This question already has answers here : Definition of a method signature? (7 answers) Closed 4 years ago . I read a book titled 'Object First with Java' and in page 7 the author mentioned that the method signature "provides information needed to invoke that method". And the the author gave the following example: void moveHorizontal(int distance) However, today when I was watching a video about C# on Pluralsight, the author said that "the return type of a method is not part of the method