The Instruction Statment:-

A program is a set of instructions and each of the instruction is defined in a statement.A staement is similar to a sentence in a english language.

A program statement instructs the computer to do something.This can be simple as adding of two number or three numbers. It can be multiplication or division may be.

The different statement that includes,that are:-

1:-Input statement
2:-Output statement
3:-Assignment statement
4:-Expression statement
5:-compound statement
6:-Selection statement
7:-Iteration statement
8:-Flow control statement

For example:-

            System.out.println("Hello , world");

It is an output statement and would you give the following statement come out of the screen :-

Hello , World !


Subscribe my youtube channel :- CLICK HERE 

Post a Comment

أحدث أقدم