CHAPTER 9B — Expressions and Arithmetic 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

revised: 04/23/00, 02/10/04, 01/10/06, 02/11/07; audio: 08/08/08

CHAPTER 9B — Expressions and Arithmetic Operators

This chapter continues the discussion of arithmetic expressions, integer operators, and floating point operators.

Chapter Topics:

  • Review of Expressions
  • Arithmetic Operators
  • Integer operators
  • Floating point operators
  • Mixed Floating point and Integer Expressions
  • Constants

QUESTION 1:

(Review: ) Is the following correct?

13 * 6 -