Which of this statement is incorrect?
switch statement is more efficient than a set of nested ifs
two case constants in the same switch can have identical values
switch statement can only test for equality, whereas if statement can evaluate any type of boolean expression
it is possible to create a nested switch statements
Quiz Recommendation System API Link - https://fresherbell-quiz-api.herokuapp.com/fresherbell_quiz_api
# | Quiz |
---|---|
1
Discuss
|
What is the valid data type for variable “a” to print “Hello World”?
Solution |
2
Discuss
|
What will be the output of the following Java program?
Solution |
3
Discuss
|
Which of these selection statements test only for equality?
Solution |
# | Quiz |
Copyright © 2020 Inovatik - All rights reserved