When creating a method that requires multiple parameters, why would a programmer need to understand a method's signature, and why must a method call match the called method's signature?
What will be an ideal response?
You can write a method so that it takes any number of parameters in any order. However, when you call a method, the arguments you send to a method must match in order-both in number and in type-the parameters listed in the method declaration. A method's signature is the combination of the method name and the number, types, and order of arguments. A method call must match the called method's signature.
Computer Science & Information Technology
You might also like to view...
A Vista feature that enables you to enter characters that don't have an assigned key on the keyboard is ________
Fill in the blank(s) with correct word
Computer Science & Information Technology
The most recent version of the Windows network operating system is Windows ____.?
A. ?XP B. ?2000 C. ?2012 D. ?2008
Computer Science & Information Technology