Java — Beginner

Java — Complete Tutorial (Beginner): 13 topics and 39 interactive cards with runnable examples and quizzes.

Topics

  1. Introduction to Programming & Java — What is Programming? · What is Java?
  2. Your First Java Program — Hello World! · Understanding println and print
  3. Variables — Your Data Containers — What is a Variable? · Declaring, Assigning, and final · Naming Conventions · Variables in Action: A Full Example
  4. Data Types — Kinds of Values — Primitive Types and Why Type Matters · Numbers: int and double · boolean and char · Type Casting and var
  5. Operators & Expressions — Arithmetic Operators · Comparison Operators · Logical & Assignment Operators
  6. Conditional Statements — if / else if / else · The switch Statement · The Ternary Operator
  7. Loops & Iterations — The for Loop · while and do-while · Enhanced for, break & continue
  8. Methods — What is a Method? · Parameters and Return Values · Method Overloading & Composition
  9. Arrays & Lists — Arrays · ArrayList: A Growable List · Processing Arrays
  10. Objects & Classes — Classes and Objects · Fields, Constructors & this · Many Objects from One Class
  11. Strings — Working with Text — String Basics & Methods · Comparing Strings & Formatting
  12. Exception Handling — try / catch / finally · Throwing Exceptions
  13. Mini-Projects & Practice — Simple Calculator · Grade Reporter · Number Guessing Game · Practice Exercises · Now You Try!