Data Types and How a Java Program Compiles and Runs
Textbook: BJP (Reges and Stepp)
Where you are: Week 0 review > Data types and running Java
This part of the review is three short lessons. Work them in order:
- How a Java program compiles and runs: source versus bytecode, the
javacandjavatools, and the three kinds of error. - Variables and the primitive types:
int,double,boolean,char, andString, and how assignment works. - Running Java in VS Code and IntelliJ: opening a project, running a program, and turning off AI completion while learning.
Finish all three before moving on to control flow and iteration.
Resources
Canonical: BJP (Reges and Stepp) Ch 1-2 (intro, primitive data and expressions); Liang 10e §2 (Elementary Programming). Section numbers are grounded from the published tables of contents; exact page numbers depend on the printing and are pending a faculty spot-check.
Show 3 more resources
- Java SE 25 API: java.lang primitive wrapper types.
- Practice: code.jdoner.me CSCD 210 variables and expressions exercises (coding practice and tracing).
- Video (URL pending verification): BroCode, Java variables and data types.