Online Programming Server

Login

Login with facebook [?]

Facebook

Tutorial 7: Basic Java Syntax-Java Statements

You are here: Tutorials >> Basic >> Java >> Basic Java Syntax-Java Statements

Tutorial ID7
TitleBasic Java Syntax-Java Statements
A statement: * one step of code, which may take more than one line * ends with a semicolon (the ; character) * it is OK to have multiple statements on one line Program execution is statement by statement, one statement at a time * from top to bottom (if more than one statement on a line, left to right) Within a statement, execution of the individual pieces is not necessarily left to right * there are concepts called operator precedence and associativity that determine the order of operations within a statement A statement: * one step of code, which may take more than one line * ends with a semicolon (the ; character) * it is OK to have multiple statements on one line Program execution is statement by statement, one statement at a time * from top to bottom (if more than one statement on a line, left to right) Within a statement, execution of the individual pieces is not necessarily left to right * there are concepts called operator precedence and associativity that determine the order of operations within a statement

Post Your Comment

Title
Message