subject

Write the Output for the following int x=2;
switch(x)
{
case 1:
{
System. out. println(“hai”);
}
case 2:
{
System. out. println(“hello”);
}
case 3:
{
System. out. println(“sorry”);
break;
}
default:
{
System. out. println(“glad”);
}}

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 10:00
Which feature of a blog to restore and retrieve older post
Answers: 3
question
Computers and Technology, 24.06.2019 12:50
What percentage of teens plays video games? a.97% b.100% c.74% d.50%
Answers: 1
question
Computers and Technology, 24.06.2019 13:00
Append and make table queries are called queries. select complex simple action i think action
Answers: 1
question
Computers and Technology, 25.06.2019 05:00
What should you do if a dialog box covers an area of the screen that you need to see?
Answers: 1
You know the right answer?
Write the Output for the following int x=2;
switch(x)
{
case 1:
{
Sys...
Questions
question
Mathematics, 04.02.2021 03:40
Questions on the website: 13722361