Multiple Choice
) What are the values of num1 and num2 after this snippet executes? double num1 = 4.20;
Double num2 = num1 * 10 + 5.0;
A) num1 = 4.20 and num2 = 42.0
B) num1 = 4.20 and num2 = 47.0
C) num1 = 42.0 and num2 = 42.0
D) num1 = 42.0 and num2 = 47.0
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q26: Which of the following options defines an
Q37: Which of the given statements generates the
Q41: Which statement about number literals in Java
Q74: What will be printed by the statements
Q75: Which one of the following is a
Q79: What is the output of the following
Q80: Which of the following is the
Q81: Which one of the following statements can
Q82: What is the output of the following
Q116: Which one of the following operators computes