Question: Which statement about methods is true? (JAVA) A. All methods require multiple arguments B.Some methods carry out an action; others return a value C. The
Which statement about methods is true? (JAVA)
A. All methods require multiple arguments
B.Some methods carry out an action; others return a value
C. The return value of a method must be stored in a variable
D. A method must return a value.
____________________________________________
Input to a method, enclosed in parentheses after the method name, is known as ______________.
A. Arguments B. Implicit Parameters C. Interfaces D. Return Values
Which method call represents the invocation of a method that does not have arguments?
| A. | greeting.length() |
| B. | greeting.replace("Hello", "Welcome"); |
| C. | greeting.length |
| D. | System.out.println(greeting); |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
