Which of the following statements is true.
Correct Answer : A
if is a conditional statement which executes only if the condition is
true. For every
if statement there need not be an
if can stand independently without
else. But for every
else there must be an
if because control goes to
else if-and-only-if condition in
if can also be used inside another
if which is called as nested-if.
Topic: Nested if Statements In Java