A method can be declared with no parameters.
查看答案
Arguments to methods always appear within __________.
A. parentheses
B. quotation marks
C. curly braces
D. brackets
If a method does not contain any parameters, you must invoke it with a pair of empty parentheses.
A. false
B. true
When you invoke a method with a parameter, the value of the argument is passed to the parameter. This is referred to as _________.
A. pass by name
B. pass by value
C. method invocation
D. pass by reference
The actual parameters of a method must match the formal parameters in type, order, and number.
A. true
B. false