Solved

Assume That X and Y Are Ints Equal to 10

Question 22

Multiple Choice

Assume that x and y are ints equal to 10 and 5 respectively. What is the output of the following statement? System.out.println(x + y) ;


A) 15
B) 105
C) 10 5
D) x + y
E) this would cause an error since neither x nor y is a String

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents