Содержание
- 2. Consider the following points Operators Statements
- 3. Arithmetic Operators * : Multiplication / : Division % : Modulo + : Addition - :
- 4. Unary Operators – : Unary minus, used for negating the values. + : Unary plus, used
- 5. Assignment Operators += : for adding left operand with right operand and then assigning it to
- 6. Relational Operators != : Not Equal to : returns true of left hand side is not
- 7. if statement
- 8. if..else statement
- 9. Nested if statement
- 10. If-else-if statement
- 11. Swith-case statement Expression can be of type byte, short, int char or an enumeration. Beginning with
- 12. Logical Operators && : Logical AND : returns true when both conditions are true. || :
- 13. Ternary Operator FORM: BooleanExpression ? Expression1 : expression2 Data types of expressions can be different
- 14. The while statement
- 15. The do-while statement
- 16. The for statement
- 17. The for-each statement
- 18. Nested Loops
- 19. Optional Labels
- 20. break, continue, return
- 22. Скачать презентацию