Multiple Choice
If x is an int and y is a float, which of the following statements is not a legal assignment statement?
A) y = x;
B) x = y;
C) y = (float) x;
D) x = (int) y;
E) All of these are legal assignment statements
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q48: Example Code Ch 02-1<br>public class Questions1_4<br>{<br>public static
Q49: Which library package would you import to
Q50: Write an output statement which will output
Q51: If you want to store the value
Q52: Explain what the following statement computes:<br>int z
Q54: There are three ways that data conversion
Q55: Using getCurrencyInstance() formats a variable, automatically inserting<br>A)
Q56: Assume that x, y, and z are
Q57: Given two points in an applet represented
Q58: If the String major = "Computer Science",