Congratulations - you have completed Java Programming : Data Types in Java.

You scored %%SCORE%% out of %%TOTAL%%.

Your performance has been rated as %%RATING%%


Your answers are highlighted below.
Question 1
Primitive data type 'byte' is having size _______ byte(s) in Java Programming.
A
4
B
2
C
3
D
1
Question 2
Primitive data type 'long' is having size _______ byte(s) in Java Programming.
A
8
B
4
C
1
D
2
Question 3
Which of the following is data type stores longest ______________ floating point number.
A
float
B
double
C
boolean
D
long
Question 4
Which of the following data type(s) can store 64 bit Value.
A
float
B
double
C
int
D
long
Question 5
Short data type has a minimum value of _____________.
A
-32,768
B
-2,147,483,648
C
-127
D
-32,767
Question 6
Default value of variable having boolean data type is ___________.
A
true
B
0
C
false
D
1
Question 7
Default value of "double" data type is ___________.
A
0
B
0.0
C
null
D
0.0d
Question 8
Default value of character data type in Java Programming is ___________________.
A
'\u0000'
B
0
C
undefine
D
null
Question 9
Default value of String (or any object) in Java Programming is _____________.
A
null
B
'\u0000'
C
0
D
false
Question 10
Compiler never assigns a default value to an uninitialized local variable in Java Programming !!
A
False Statement
B
True Statement
Question 11
"Accessing an uninitialized local variable will result in a compile-time error in Java Programming"
A
False Statement
B
True Statement
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 11 questions to complete.