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