HOME

Casting and Range of Variables

    Learning Objectives

  1. Develop code to cast primitive values to different primitive types in arithmetic expressions and determine the value that is produced as a result.
  2. Describe conditions when an integer expression evaluates to a value out of range.
  3. Describe conditions that limit accuracy of expressions.
Previous Topic - Assignment Statements and Input     Next Topic - Compound Assignment Operators