InterviewSolution
Saved Bookmarks
| 1. |
Explain the statements to display message in java |
|
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 statementExpression statementControl flow statement |
|