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 .Join The Discussion
Comments ( 8 )
Related Questions on Data Types and Variables
What is the maximum value that can be stored in a byte variable in Java?
A. 127
B. 255
C. 32767
D. 64
What is the default value of an int variable in Java if it's not explicitly initialized?
A. 0
B. 1
C. -1
D. Null
Which of the following is not a valid identifier for a Java variable?
A. my_var
B. _myVar
C. 3rdVar
D. $var
PLEASE! CAN YOU TELL NAME OF PRIMITIVE DATA TYPES OF JAVA..........
How many primitive data types are there in Java?
Boolean,byte,int,char,float,double,short and long data types are primitives
byte,short,int,long,char,float,double,boolean.
byte,char,int,short,long,float,double,boolean
boolean,char,byte,short,int,long,float,double
boolean,
char,
byte,short,int,long
float,double
please tell me name of primitive data types names