Computer Science, asked by juichandgadkar, 3 months ago

explain the statements to display message in java​

Answers

Answered by aamnamazhar23
2

Answer:

A statement specifies an action in a Java program. For example, a statement may tell the add of values of x and y and assign their sum to the variable z. It then prints a message to the standard output or writing data to a file, etc.

Java statements can be broadly classified into three categories:

Declaration statement

Expression statement

Control flow statement

Similar questions