230k views
4 votes
g What can be used as an argument in a method call?I. A variableII. An expressionIII. Another method call that returns a valueIV. Another method call that has no return value'

1 Answer

5 votes

Answer:

the answers are options I, ii, iii

Step-by-step explanation:

We can use A variable, An expression and Another method call that returns a value was an argument in a method call.

when a method is invoked or called, arguments are those actual values that are passed. when called these arguments and declarations parameters have to match with in type and also in order. These arguments are passed by value. the method would receive value of the variable that has been passed in. if it is primitive then it means method cannot change its value

User Chris Bornhoft
by
5.0k points