Object Data

Scope

  • Local
  • Global

Java Basic Data Types

Also called primitive types.

  • Integers - All types are signed.
    • byte - 8 bits
    • short - 16 bits
    • Int - 32 bits
    • long - 64 bits
  • Floating point numbers
    • float
    • double - For more precise real number calculations.
  • Characters - char
  • Boolean - boolean - True or false.