Skip to page content
Data Types, Expressions and Control Statements
Computer Science · Chapter 5 · Section B: Programming in Java
Not started Not started
Your path through this chapter
Visual lesson Coming soon
Short slides, one idea at a time. We are preparing this chapter's lesson.
Notes Coming soon
Clear chapter notes for quick revision.
Flashcards Coming soon
Quick recall of key terms and facts.
Practice Coming soon
Board-style questions with instant checks.
Chapter test Free
Short and long chapter tests in board pattern, with results and analysis.
Step 5: Not started
Topics 6
- Primitive types (byte, short, int, long, float, double, char, boolean) and their wrapper classes; class as a user-defined type
- Type conversion: automatic coercion and explicit casting
- Variables, final constants, operators, precedence and associativity; assignment (LHS vs RHS)
- Conditional statements: if, if-else, if-else-if, switch-case, ternary operator
- Loops: for, while, do-while; break and continue; nested loops
- Blocks, scope and visibility of variables (block, method and class scope)