What will be printed by the statements below?
Int x = 100;
Int y = -12;
System.out.print ("Sum is " + x + y) ;
A) Sum is 100-12
B) Sum is 88
C) Sum is xy
D) Sum is 100 + -12
Correct Answer:
Verified
Q32: Which of the following statements is correct
Q74: What is the value of Math.pow(2, 3)?
A)5.0
B)6.0
C)8.0
D)9.0
Q95: What is the output of the following
Q115: Assume the following variables have been declared
Q116: Which one of the following is a
Q117: Which of the following is the mathematical
Q121: Assume the following variable has been declared
Q121: Assume the following variables have been declared
Q123: What will be printed by the statements
Q125: Assume the variable str has been declared
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