Which one is a valid declaration of a boolean?
boolean b1 = 1;
boolean b2 = ‘false’;
boolean b3 = false;
boolean b4 = ‘true’
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
Which data type value is returned by all transcendental math functions?
Solution |
2
Discuss
|
What will be the output of the following Java code? - Average
Solution |
3
Discuss
|
Which of the following is the advantage of BigDecimal over double?
Solution |
4
Discuss
|
An expression involving byte, int, and literal numbers is promoted to which of these?
Solution |
5
Discuss
|
What is the range of short data type in Java?
Solution |
6
Discuss
|
What is the base of BigDecimal data type?
Solution |
7
Discuss
|
What is the range of byte data type in Java?
Solution |
8
Discuss
|
What will be the output of these statement?
Solution |
9
Discuss
|
What will be the output of the following Java code? - Area Of Circle
Solution |
10
Discuss
|
Which of these values can a boolean variable contain?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved