What will be the value of z after the following statements have been executed? int x = 4, y = 33;
Double z;
Z = (double) (y / x) ;
A) 8.25
B) 4
C) 8
D) 8.0
Correct Answer:
Verified
Q33: What will be the displayed when the
Q34: Which of the following is not a
Q35: Variables are classified according to their
A) value
B)
Q36: In the following Java statement what value
Q37: What will be the value of z
Q39: To print "Hello, world" on the monitor,
Q40: Given the declaration double r;, which of
Q41: Both character literals and string literals can
Q42: In Java the variable named total is
Q43: Which of the following is a valid
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents