Chapter 2: Data Types
Major Concepts
By the end of this lesson, you should be able to do the following:
- Set up a Java development environment and execute Java programs
- Understand Java’s data type system
- Understand the differences between dynamic and static types
- Understand the differences between primitive and non-primitive types
- Write simple Java programs
Key Terminology
Data Types
- dynamically typed
- statically typed
- type system
- boxing
- unboxing
- autoboxing
Some Java Practice
- encapsulate
import
Scanner
package
//
/ * ... */
More Data Types
- objects
- class
- reference variables
- methods
- static methods