Computer Applications

Write the syntax of 'if' statement.

Input in Java

26 Likes

Answer

The syntax of 'if' statement is as follows:

if(condition )
    Statement

    OR

if(condition)
{
    Statement 1
    Statement 2
    :
    :
    Statement n
}

Answered By

19 Likes


Related Questions