Saturday, 22 June 2013

What are the different data types in JAVA

JAVA has below primitive data types -


  1. byte
  2. short
  3. int
  4. long
  5. float
  6. double
  7. boolean
  8. char
Java has also got the class data types 

For Example -  Test test = new Test();

here Test is a class data type .

No comments:

Post a Comment