Multiple Choice
What will be the value of z as a result of executing the following code? int x = 5, y = 28;
Float z;
Z = (float) (y / x) ;
A) 5.60
B) 5.6
C) 3.0
D) 5.0
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q16: What will be the displayed when the
Q17: In Java the variable named total is
Q18: This is a value that is written
Q19: Which one of the following methods would
Q20: What will be displayed after the following
Q23: What will be displayed as a result
Q24: Both character literals and string literals can
Q25: Which Scanner class method reads a String?<br>A)
Q26: What will be displayed as a result
Q35: Which of the following is not a