4. Will the following Java statements compile? Justify your answer
a) int void = 5;
b) int max = Math max(7,4);
Answers
Answered by
2
Answer:
a will not compile
b will compile
Explanation:
a is not a valid Java statement as it use keyword void with int
b is a valid Java statement
Similar questions
Math,
1 month ago
English,
3 months ago
Accountancy,
3 months ago
Physics,
10 months ago
English,
10 months ago