Primitive types
<< Click to Display Table of Contents >> Navigation: Reference > Primitive types |
Primitive types include integer, double and boolean. With a couple of exceptions, operators for primitive types are part of the language syntax itself. For example, arithmetic operators (+,-,*,/,%) and comparators (<, <=, ==, !=, >, >=) can be used on both integers and doubles.