Top Posters
Since Sunday
New Topic  
elbthwtkns01 elbthwtkns01
wrote...
Posts: 435
Rep: 0 0
3 years ago
What is y after the following switch statement is executed?

int x = 3; int y = 4;
switch (x + 3) {
case 6: y = 0;
case 7: y = 1;
default: y += 1;
}


▸ 1

▸ 2

▸ 3

▸ 4

▸ 0
Textbook 
Introduction to Java Programming, Comprehensive Version

Introduction to Java Programming, Comprehensive Version


Edition: 10th
Author:
Read 46 times
1 Reply
Replies
Answer verified by a subject expert
ShayT0923ShayT0923
wrote...
Posts: 387
3 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1

Related Topics

elbthwtkns01 Author
wrote...

3 years ago
You make an excellent tutor!
wrote...

Yesterday
this is exactly what I needed
wrote...

2 hours ago
Helped a lot
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1285 People Browsing
Related Images
  
 632
  
 188
  
 4432
Your Opinion
What percentage of nature vs. nurture dictates human intelligence?
Votes: 431