Java Programming: Working with Primitive Data Types

Expected Duration
Lesson Objectives
Course Number
Expertise Level


This 11-video course explores Java, a program used in real-world commercial situations such as e-commerce websites, android apps and even the game Minecraft. Particpants will learn the eight primitive data types in Java and how to use them—Boolean, byte, char, short, int, long, float, and double—the most basic data types available within Java. The course examines how they serve as the building blocks of data manipulation in Java. First, learn about the types, including Object types, Strings, and Arrays, which are inherited from the java.lang.Object base class. Then learn how to create arrays, which are containers that store a fixed-size sequential collection of elements of the same type. You will learn that arrays can be both primitive and object types. Learn to print their contents, and access individual elements. The course also examines how to create enumerated types, commonly known as enums, which are a special Java type used to define collections of constants and learn how to use these types of variables.

Expected Duration (hours)

Lesson Objectives

Java Programming: Working with Primitive Data Types

  • discover the key concepts covered in this course
  • identify differences between primitive and object types in Java
  • create and use variables of the primitive data types - byte, boolean, short, int, long, float, double, and char
  • work with variables of double, char, and String types in Java
  • create arrays of both primitive and object types, print their contents, and access individual elements
  • create and use enums (enumerated data types) in Java
  • initialize and modify variables of primitive types
  • apply arithmetic operators to variables of primitive types
  • describe the += self-assignment operator
  • describe and use the -=, *=, %= and %= self-assignment operators
  • summarize the key concepts covered in this course
  • Course Number:

    Expertise Level