Vidyalelo
Java Programming · Q21

Flow Control

Programming · Java Programming · question 21

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
Answer
D.
To declare variables

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board