Chapter 2: Data Types

Major Concepts

By the end of this lesson, you should be able to do the following:

  1. Set up a Java development environment and execute Java programs
  2. Understand Java’s data type system
  3. Understand the differences between dynamic and static types
  4. Understand the differences between primitive and non-primitive types
  5. Write simple Java programs

Key Terminology

Data Types

  1. dynamically typed
  2. statically typed
  3. type system
  4. boxing
  5. unboxing
  6. autoboxing

Some Java Practice

  1. encapsulate
  2. import
  3. Scanner
  4. package
  5. //
  6. / * ... */

More Data Types

  1. objects
  2. class
  3. reference variables
  4. methods
  5. static methods