Top Posters
Since Sunday
1
e
1
New Topic  
Izaganag Izaganag
wrote...
Posts: 686
Rep: 2 0
8 years ago
What value will z have if we execute the following assignment statement?
int z = 50 / 10.00;
A) 5
B) 10
C) 5.0
D) 50
E) none of the above, a run-time error arises because z is an int and 50 / 10.00 is not
Textbook 
Java Software Solutions: Foundations of Program Design

Java Software Solutions: Foundations of Program Design


Edition: 7th
Authors:
Read 311 times
3 Replies
Replies
Answer verified by a subject expert
habibtihabibti
wrote...
Top Poster
Posts: 1486
8 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

Izaganag Author
wrote...
8 years ago
I regret taking this computer science course. Should just stick to history Face with Stuck-out Tongue Thanks for your help.
wrote...
8 years ago
Guys, you see that "vote as best answer" button below the answer, CLICK IT Slight Smile Slight Smile
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  824 People Browsing
 102 Signed Up Today
Related Images
  
 86
  
 275
  
 697
Your Opinion
Which industry do you think artificial intelligence (AI) will impact the most?
Votes: 379