Top Posters
Since Sunday
r
4
L
4
3
d
3
M
3
l
3
V
3
s
3
d
3
a
3
g
3
j
3
New Topic  
Eels Eels
wrote...
Posts: 716
Rep: 0 0
7 years ago
What will be displayed after the following statements have been executed?   

int x = 15, y = 20, z = 32;
x += 12;
y /= 6;
z -= 14;
System.out.println("x = " + x +
                   ", y = " + y +
                   ", z = " + z);

A) x = 37, y = -14, z = 4
B) x = 27, y = 3, z = 18
C) x = 27, y = 3.333, z = 18
D) x = 27, y = 2, z = 18
Textbook 
Starting Out with Java: Early Objects

Starting Out with Java: Early Objects


Edition: 4th
Author:
Read 167 times
3 Replies
Replies
Answer verified by a subject expert
ToothyToothy
wrote...
Top Poster
Posts: 744
Rep: 4 0
7 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

Eels Author
wrote...
7 years ago
YOU'RE AWESOME
wrote...
7 years ago
I'm happy to help
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1710 People Browsing
Related Images
  
 4491
  
 409
  
 431
Your Opinion
What's your favorite coffee beverage?
Votes: 303

Previous poll results: How often do you eat-out per week?