Multiple Choice
What is output with the statement System.out.println(x+y) ; if x and y are int values where x=10 and y=5?
A) 15
B) 105
C) 10 5
D) x+y
E) An error since neither x nor y is a String
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q7: Unlike the String class where you must
Q34: Assume that a = "1", b =
Q64: Write the paint method for an applet
Q67: Consider the following paint method and answer
Q69: Which of the following is True regarding
Q70: Assume that x is a double that
Q72: If you want to store into the
Q73: The Java graphics coordinate system is similar
Q74: Since you cannot take the square root
Q77: What is output with the statement System.out.println(x+y);