Question: The BNF for a Java if_statement is which one of the following? if_statement = if (expression ) statement else statement. if_statement = if (expression )

The BNF for a Java if_statement is which one of the following? if_statement = "if" "("expression ")" statement "else" statement. if_statement = "if" "("expression ")" statement. if_statement = "if" "("condition")" statement [ "else" statement]. O if_statement = "if" "" expression ")" statement["else" statement]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
