Skip to content

Week 2 (Jan 26)

Instructions: Read from the following selections. You may open each link in a new tab, or click a link, read that section, and then return to this page.

W3Schools

Patterns

Think Java

  • 2. Variables and Operators

    • 2.5 Arithmetic Operators
    • 2.6 Floating-Point Numbers
    • 2.7 Rounding Errors
    • 2.8 Operators for Strings
  • 3. Input and Output

    • 3.1 The System Class
    • 3.2 The Scanner Class
    • 3.3 Language Elements
    • 3.4 Literals and Constants
    • 3.5 Formatting Output
    • 3.7 Type Cast Operators
    • 3.10 The Scanner Bug
  • 5. Conditionals and Logic

    • 5.1 Relational Operators
    • 5.5 Logical Operators
  • 11. Designing Classes

    • 11.1 The Time Class
    • 11.2 Constructors
    • 11.3 Value Constructors
    • 11.4 Getters and Setters