Loading video...
QuickNotes™ 
Statements
Sequential Statements: Are the statements that are done sequentially one by one from the beginning to the end, with no exception.
float salary, hours,payRate ;
Scanner KB = new Scanner(System.in);
System.out.println("Enter hours and pay rate:");
hours = KB.nextFloat();
payRate = KB.nextFloat();
salary = hours * payRate ;
Operator Precedence: The order in which operators in Java are executed.
The Java operations are divided into precedence groups:
unary operators - (negate) ! (not) Highest priority multiplicative * / % | additive + - | relational < > >= <= | equality == != | logical and && | logical or || V Assignment =, +=, -=,*=, /=, %= Lowest Priority
Discussion 
Please login to ask a question and view discussion.













