concept decimal value in category java
appears as: decimal value, decimal value

This is an excerpt from Manning's book OCA Java SE 8 Programmer I Certification Guide.
Explanation: Often programmers are tricked by similar questions. If a variable is assigned a value using 0b100001011 (a number in the binary number system), a programmer might believe that System.out.println() will print out numbers in the binary number system, which is incorrect. By default, System.out.println() will print out a number in its decimal base. All four variables baseDecimal, octVal, hexVal, and binVal represent the decimal value 267 in the decimal, octal, hexadecimal, and binary number systems. The addition operation adds these values and prints 534 twice.
When a positive integer or decimal value is divided by 0.0, the result is Infinity.