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
What is a compound statement? Give an example.
Write down the syntax of the following with reference to Java Programming:
(a) to accept an integer value using main( )
(b) to accept a fractional number using main( )
Define the following:
(a) Normal flow of control
(b) Conditional flow of control
What are the different types of errors that take place during the execution of a program?