1. Primitive data types Values Bytes Type - 3.4028234663852886e+38 to - 1.4012984632481707e-45 (and +ve) 4 float -1.7976931348623157e+308 to -4.94065645841246544e-324 (and +ve) 8 double (- 2 63 to 2 63 -1) 8 long -2,147,483,648- +2,147,483,648 (2 31 ) 4 int -32,768 - +32,767 (- 2 15 to 2 7 -1) 2 short 0 to 65535 (-2 7 to 2 7 -1) 2 char false. true 2 boolean
2.
3. Declaring a constant final double TAXRATE = 17.5; Declares a named constant which will hold a decimal value, this is initialised as part of the declaration. The value may then not be changed during program execution. 17.5 TAXRATE