Explain the purpose of a method parameter. What is the difference between a parameter and an argument?
What will be an ideal response?
A parameter represents additional information that a method requires to perform its
task. Each parameter required by a method is specified in the method’s declaration.
An argument is the actual value that’s passed to a method parameter when a method
is called.
Computer Science & Information Technology
You might also like to view...
What library is the value EXIT_FAILURE defined in?
What will be an ideal response?
Computer Science & Information Technology
Microsoft’s FAT file system uses a(n) ________ file allocation scheme.
a) contiguous b) linked-list noncontiguous c) tabular noncontiguous d) indexed noncontiguous
Computer Science & Information Technology