Android Girl Android Girl - 1 year ago 110
Java Question

Primitive Data Types in Java

What is the actual meaning of primitive in java?

Why java called primitive data "TYPE" ?

Answer Source

In Java, every variable has a type declared in the source code. There are two kinds of types: reference types and primitive types. Reference types are references to objects. Primitive types directly contain values. There are 8 primitive types:

  • byte
  • short
  • int
  • long
  • char
  • float
  • double
  • boolean
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download