CHAPTER 8 — Primitive Data

Classic programmed-learning exercises, refreshed for modern Java and presented in the current MrStyner.com portfolio style.

Modern Java noteThis archive has been refreshed for Java 25 LTS. Core language concepts remain useful, while outdated setup instructions and browser-era Java are labeled or replaced. Java 26 is the current feature release; Java 25 is used here as the stable teaching baseline.
go to home page   hear noise   go to next page

revised: 9/26/98, 07/27/99, 01/17/00, 04/20/00, 01/27/06, 07/23/08

CHAPTER 8 — Primitive Data

Computer memory stores arbitrary bit patterns. Making sense of these patterns involves the use of data types.

Chapter Topics:

  • Data Types
  • Primitive Data vs. Objects
  • The Eight Primitive Data Types of Java
  • Numeric Data Types
  • Character and Boolean Data Types

QUESTION 1:

Say that you came across the following torn slip of paper. What can it mean? Torn slip of paper bearing the word MIX