COMP3200 Anonymous Questions and Answers Keyword Index |
This page provides a keyword index to questions and answers. Clicking on a keyword will take you to a page containing all questions and answers for that keyword, grouped by year.
To submit a question, use the anonymous questions page. You may find the keyword index and/or top-level index useful for locating past questions and answers.
Keyword reference for method-signature
2024 |
Submission reference: IN3655
one question: As the signature indicates, you need to specify the maximum number of students in that class (an integer). so the phrase signature means that we need to provide a data depending of the header type? Because what Ive understood is that signature is the blend between the method name and the parameters.
That is correct. The method signature refers to the method name and its set of parameters. The term 'method header' refers to the additional elements of the visibility (public, private) and the return type (void, int, etc.) but signature is just the name and parameters.
Keywords: method-signature
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License. |