December 2001
Beginner
976 pages
22h 4m
English
The arithmetic, comparison, and Boolean operators, as well as data conversion and other types of functions, can be used to create powerful expressions that can be used in your computations and programs.
An expression is a combination of values and operators. The values can be literals or variables, the operators can be any combination of known operators, and a few more that you will learn later on in the book.
The type of an expression is the data type of the result of the evaluation of an expression. An expression 2 + 3 is a numeric (Integer) expression. i > 5 is (as you have seen) a logical or boolean expression. An expression that evaluates to a String will be a String expression. By evaluating an expression ...
Read now
Unlock full access