Multiple Choice
What is the output of the following code:
Int num1 = 6;
Int num2 = 10;
Num1 = num1 + num2;
Num2 = num1 + num2;
System.out.println(num1 + ", " + num2) ;
A) 6, 10
B) 16, 16
C) 16, 22
D) 16, 26
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q24: Which package is automatically imported in any
Q33: Which of the following is a mutator
Q37: What is the purpose of the assignment
Q45: Which of the following declares a variable
Q58: Which statement declares and stores an integer
Q66: The output of a method is called
Q68: Which is a valid number literal?<br>A) 1x10^4<br>B)
Q71: What is the output of the following
Q72: What is the term used to specify
Q75: Which of the following method calls illustrates