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, 22.06.2019 02:30
The can be used to paste text in any order
Answers: 1
question
Computers and Technology, 23.06.2019 08:00
Michael has written an e-mail to his employees that describes a new product special that will be introduced to the customers next week. by taking time to make sure the e-mail is well written, logical, and organized, michael has made sure his message has the characteristics of a) effective communicationb) ineffective communicationc) barriers to communicationd) workplace communication
Answers: 2
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. sean is a computer programmer. he has programmed an application for toddlers that plays nursery rhymes. however, a logic error has occurred in the program. which problem is a likely consequence of the error? a. the program crashes every time the user wants to play the nursery rhymes. b. the program crosses its buffer boundaries and overwrites an adjacent program. c. the program plays a different nursery rhyme than the one the user intended to play. d. the program shows different structures in its programming language code. e. the program introduces new viruses every time the user plays a nursery rhyme.
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
You can apply several different worksheet themes from which tab?
Answers: 1
You know the right answer?
Write the Output for the following int x=2;
switch(x)
{
case 1:
{
Sys...
Questions
question
Computers and Technology, 22.05.2020 21:06
question
Mathematics, 22.05.2020 21:06
question
History, 22.05.2020 21:06
question
Mathematics, 22.05.2020 21:06
question
Mathematics, 22.05.2020 21:06
Questions on the website: 13722367