Logo

Java Fundamentals: Writing Your First Programs

0:00 / 3:56
Input and Output in Java
0:00 - 0:35

Learn System.out, System.in, and how to create a Scanner to read keyboard input.

Variables and Memory
0:35 - 1:09

Declare and initialize variables with types like int and double.

Constants and Naming Rules
1:09 - 1:47

Use final constants and Java naming styles: camelCase, PascalCase, and ALL_CAPS.

Shorthand Operators
1:47 - 2:21

Apply augmented assignment operators such as += and *= for concise updates.

Increment and Decrement
2:21 - 2:55

Understand pre- and post-increment and decrement with ++ and --.

Example: Triangle Area
2:55 - 3:30

Walk through a full program that reads base and height and prints triangle area.

Next Steps in Java
3:30 - 3:56

Recap I/O, variables, constants, naming, and shorthand operators.