To write Java programs to perform simple computations(§2.2).
To obtain input from the console using the Scannerclass (§2.3).
To use identifiers to name variables, constants,methods, and classes (§2.4).
To explore Java numeric primitive data types: byte,short, int, long, float, and double (§2.9.1).
To perform operations using operators +, -, *, /, and %(§2.9.3).
To use augmented assignment operators (§2.13).
To distinguish between postincrement and preincrementand between postdecrement and predecrement (§2.14).
To cast the value of one type to another type (§2.15).
To avoid common errors and pitfalls in elementaryprogramming (§2.18).
To implement selection control using one-way if statements(§3.3).
To implement selection control using two-way if-elsestatements (§3.4).
To implement selection control using nested if andmulti-way if statements (§3.5).
To avoid common errors and pitfalls in if statements(§3.6).
To solve mathematics problems by using the methods inthe Math class (§4.2).
To represent characters using the char type (§4.3).
To introduce objects and instance methods (§4.4).
To represent strings using the String objects (§4.4).
To program using characters and strings (GuessBirthday)(§4.5.1).
To format output using theSystem.out.printf method (§4.6).