1. What is this? (pg 205) public static int max (int num1, int num2) Method head
ID: 3735076 • Letter: 1
Question
1.
What is this? (pg 205)
public static int max (int num1, int num2)
Method header
2.
What is this? (pg 205)
int z = max (x, y)
Method call
3.
What is this? (pg 205)
public static int max (int num1, int num2) {
int result;
if (num1 > num2) {
result = num1;
} else {
result = num2;
}
}
Method modifier
4.
What is the return type of this method call? (assuming it compiles)(pg 206)
String s = getString();
Returns Char
5.
What is the return type of this method call? (assuming it compiles)(pg 209)
showString();
Explanation / Answer
Question 1
Answer:
Method header
Question 2
Answer:
No answer text provided.
Method calling
Question 3
Answer:
Method definition
Question 4
Answer:
Returns String
Question 5
Answer:
Returns Void
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.