Examveda
Examveda

How many primitive data types are there in Java?

A. 6

B. 7

C. 8

D. 9

Answer: Option C

Solution(By Examveda Team)

Primitive types are the most basic data types available within the Java language. There are 8: boolean , byte , char , short , int , long , float and double .

This Question Belongs to Java Program >> Data Types And Variables

Join The Discussion

Comments ( 8 )

  1. Ashwini Salwadgi
    Ashwini Salwadgi :
    7 years ago

    PLEASE! CAN YOU TELL NAME OF PRIMITIVE DATA TYPES OF JAVA..........

  2. Judi Joshie
    Judi Joshie :
    7 years ago

    How many primitive data types are there in Java?

  3. Vipin Singh
    Vipin Singh :
    7 years ago

    Boolean,byte,int,char,float,double,short and long data types are primitives

  4. Sunil Kumar
    Sunil Kumar :
    7 years ago

    byte,short,int,long,char,float,double,boolean.

  5. Sravan Kumar
    Sravan Kumar :
    7 years ago

    byte,char,int,short,long,float,double,boolean

  6. Sravan Kumar
    Sravan Kumar :
    7 years ago

    boolean,char,byte,short,int,long,float,double

  7. Praveenkumar N
    Praveenkumar N :
    7 years ago

    boolean,
    char,
    byte,short,int,long
    float,double

  8. Malik Junaid
    Malik Junaid :
    7 years ago

    please tell me name of primitive data types names

Related Questions on Data Types and Variables