Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Which of the following is the correct syntax for an if-else statement in Java?
if (condition) { } else { }
if condition else
if (condition) else { }
if { condition } else { }
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!