Q21
In Java, what is the purpose of the "if-else if-else" statement?
A.
To create loops
B.
To define methods
C.
To evaluate multiple conditions and execute the corresponding block of code
AnswerD.
To declare variables
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board