Data in Java

This is how I categorize the different types of data.

  1. Mutable Objects: non-final class instances or arrays
  2. Immutable Objects: final class instances (including String)
  3. Primitive Data Types:
    • byte
    • short
    • int
    • long
    • char
    • float
    • double
    • boolean

Leave a Reply

Your email address will not be published. Required fields are marked *