Data types JAVA


Java has eight primitive data types-
  1. Boolean - value either true or false
  2. Char - character value
  3. Byte - integral value
  4. Short - integral value
  5. int - integral value
  6. long  - integral value
  7. float  - floating point value
  8. double  - floating point value

Strings are class type which references to an instance of class String.

Related topics

Please use contact page in this website if you find anything incorrect or you want to share more information about the topic discussed above.