Beginner module
Module 2: Output, Input, Variables, and Types
Learn how Java prints values, stores data in variables, reads input from the user, and converts between common types.
Module lessons
Module 2: Output, Input, Variables, and Types
0/5 complete0% complete
01
Printing Text and Numbers with `System.out.println`
Use console output to display strings, numbers, and quick feedback while you learn.
10 min
Next
02
Variables and Naming Rules
Store values in named variables so your program can reuse and update information instead of hardcoding everything.
14 min
Ready
03
Primitive Data Types: `int`, `double`, `boolean`, and `char`
Work with the most common primitive types before you worry about the full list of Java primitives.
18 min
Ready
04
Reading User Input with `Scanner`
Read text and numbers from the user so your programs can become interactive.
18 min
Ready
05
Type Conversion and Casting
Convert between common types and understand when Java does it automatically versus when you must cast explicitly.
14 min
Ready
Advertisement