Named constants (cont.)
nNow you can refer to the values by their names.
nif (discard.suit() == Card.SPADE)…
nnamed constant: a value that has an identifier (name) associated with it; the associated identifier can be used to refer to the value. nmagic number: a literal without an associated (descriptive) name; avoid magic numbers! nBy convention, we use upper-case identifiers for named constants.