Search your topic here

Data types JAVA

DATA TYPES:


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.


LEAVE A REPLY