Computer Science, asked by kashvilalwani06, 3 months ago

4. Will the following Java statements compile? Justify your answer
a) int void = 5;
b) int max = Math max(7,4);​

Answers

Answered by singhrishit33
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