Java - Decision Control and looping statement - Switch Quiz
# | Quiz |
---|---|
1
Discuss
|
Switch
Which of these selection statements test only for equality?
Solution |
2
Discuss
|
Switch
Which of this statement is incorrect?
Solution |
3
Discuss
|
Switch
What will be the output of the following Java program?
Solution |
4
Discuss
|
Switch
What is the valid data type for variable “a” to print “Hello World”?
Solution |
# | Quiz |