Multiple Choice
It is legal to assign a float value to a double. Which of these statement pairs is not valid?
A) float salesTax = .05f;
B) double taxRate = .05;
C) float salesTax = taxRate;
D) double taxRate = salesTax;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: You want to insert the comment "Java
Q2: Which of the following is a primitive
Q3: One way to specify an initial value
Q4: How can you create a String literal
Q5: Sam wants to calculate whether his students
Q7: Rewrite the following into one statement:<br>int age;<br>age
Q8: The result of (double) ( 3 /
Q9: The Java keyword for a constant is
Q10: int9 is a valid identifier.
Q11: Division with two integer operands is performed