Java - Decision Control and looping statement - If-else Quiz
| # | Quiz |
|---|---|
|
1
Discuss
|
If-else
Which of these are selection statements in Java?
Solution |
|
2
Discuss
|
If-else
What will be the output of the following Java program?
Solution |
|
3
Discuss
|
If-else
What will be the output of the following Java program?
Solution |
|
4
Discuss
|
If-else
What would be the output of the following code snippet if variable a=10?
Solution |
| # | Quiz |