Please enable JavaScript to use CodeHS

Arizona Software and App Design II

Primitive Types

Students learn about writing the main method and start to call preexisting methods to produce output. Students learn about three built-in data types and learn how to create variables, store values, and interact with those variables using basic operations.

Lessons

2.1 Why Programming? Why Java?

  • Printing in Java
  • Printing in Java
  • Hello World
  • Printing Multiple Lines
  • Welcome Program
  • +4 more

2.2 Variables and Data Types

  • Variables and Types
  • Variables and Types
  • Variables
  • Using Final
  • Our First Integer
  • +5 more

2.3 Expressions and Assignment Statements

  • Arithmetic Expressions
  • Arithmetic Expressions
  • Calculator
  • Temperature Conversion
  • Tricky Java
  • +3 more

2.4 Compound Assignment Operators

  • Compound Assignment Operators
  • Compound Assignment Operators
  • All Functions Calculator
  • Increase/Decrease by 1
  • Work Shift
  • +1 more

2.5 User Input

  • User Input
  • User Input Quiz
  • Using the Scanner Class
  • Increase/Decrease by 1 (User Input)
  • int Before String
  • +3 more

2.6 Casting and Ranges of Variables

  • Casting
  • Casting
  • Casting
  • Casting to an Int
  • Casting to a Double
  • +6 more

2.7 Primitive Types Quiz

  • Primitive Types Quiz

Courses that include this module