CHAPTER 39 — Increment, Decrement, and Other Operators

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

created: 11/07/98; revised: 10/27/99, 01/22/00, 07/17/02, 05/24/03, 01/19/06; audio: 03/21/04

CHAPTER 39 — Increment, Decrement, and Other Operators

You already know everything that is essential about arithmetic expressions and assignment statements. This chapter discusses additional operators that can be used to write shorter expressions and assignment statements. You will use them often and will need to know them to read most Java programs.

Chapter Topics:

  • Increment Operators
  • Decrement Operators
  • Assignment Operators
  • Harmonic Series Example

QUESTION 1:

(Thought question:) What simple operation does an executing program perform most often?

Click here for a .

Click here for a .

You are not thinking very hard if you need a .