Question: Suppose a method named show Values accepts two int arguments. Which of the following method headers is written correctly? a) Public static void showValues() b)
Suppose a method named show Values accepts two int arguments. Which of the following method headers is written correctly?
a) Public static void showValues()
b) Public static void showValues(int num1, num2)
c) Public static void showValues(num1, num2)
d) Public static void showValues(int num1, int num2)
Step by Step Solution
3.29 Rating (155 Votes )
There are 3 Steps involved in it
d Public static void showValuesint nu... View full answer
Get step-by-step solutions from verified subject matter experts
