Multiple Choice
Please examine the following code sample: int distance; // Declare distance as an int
Double half; // Declare half as a double
Distance = 35; // Assign 35 to distance
Half = distance / 2; // Calculate half the distance
What value is assigned to the half variable?
A) 70
B) 17.5
C) 18
D) 17
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q135: A _ is a variable that is
Q136: A math expression involving a double and
Q137: Which one of the following statements clears
Q138: Which one of the following statements changes
Q139: When an operation is performed on two
Q141: When you store a data in a
Q142: When a math expression involves an int
Q143: When you divide an integer by an
Q144: The _ property lets you designate a
Q145: In a try-catch statement, the _ keyword