Q1
What is the purpose of the "if" statement in Java?
A.
To execute a block of code conditionally
AnswerB.
To create loops
C.
To declare variables
D.
To define methods
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board