Java Scrap Book  

Java Scrap Book > Data Type > Data Type Overview

Overview of Data Type

Data Type in Java can be classified in two Categories.

  1. Primitive Data Type
  2. Non-Primitive Data Type


Primitive Data Type

Java Programming Language has eight primitive data type.

  1. boolean
  2. char
  3. byte
  4. short
  5. int
  6. long
  7. double
  8. float


Primitive data type can hold only one value at any instance of time.
Primitive data types are predefined by the Java language.


Copyright © 2013-2017

javascrapbook.com is a computer science content service should not be treated as the publisher or speaker of any information provided by another Computer Science content provider.

Contact email: javascrapbook2013@gmail.com