Chapter 3

Constants and literals

A constant is a value that cannot be altered by the program during normal execution.

A literal is a notation for representing a fixed value in source code.