concept integer value in category java

appears as: n integer value, integer values, The integer value, integer value
OCA Java SE 8 Programmer I Certification Guide

This is an excerpt from Manning's book OCA Java SE 8 Programmer I Certification Guide.

Figure 2.8. The output of assigning a character using the integer value 122 versus the Unicode value \u0122

The integer value 122 is equivalent to the letter z, but the integer value 122 is not equal to the Unicode value \u0122. The former is a number in base 10 (uses digits 0–9) and the latter is a number in base 16 (uses digits 0–9 and letters a–f—lower- or uppercase). \u is used to mark the value as a Unicode value. You must use quotes to assign Unicode values to char variables. Here’s an example:

In the exam, watch out for division with integers. If the divisor is 0, the integer value that’s being divided doesn’t matter. Such an operation will throw an ArithmeticException.