Java Data Types

Data types available in Java. The integer and real number, Boolean and character data types are all primitive data types. They are not objects mainly for efficiency purposes: this is in contrast to languages such as Smalltalk, where all data types are objects. Strings, arrays, and vectors, on the other hand, are objects in the Java language.

  • Integer Numbers
  • Real Numbers
  • Booleans
  • Characters
  • Strings
  • Arrays

No comments:

Post a Comment