February 2014
Beginner
1248 pages
62h 25m
English
• In sentinel-controlled repetition (p. 119), a special value called a sentinel value (also called a signal value, a dummy value or a flag value) is used to indicate “end of data entry.”
• A sentinel value must be chosen that cannot be confused with an acceptable input value.
• Top-down, stepwise refinement (p. 120) is essential to the development of well-structured programs.
• Division by zero is a logic error.
• To perform a floating-point calculation with integer values, cast one of the integers to type double.
• Java knows how to evaluate only arithmetic expressions in which the operands’ types are identical. To ensure this, Java performs an operation called promotion on ...
Read now
Unlock full access