1.

Which of the following type casts will convert an Integer variable named amount to a Double type?

A. (double) amount
B. (int to double) amount
C. int to double(amount)
D. int (amount) to double
Answer» B. (int to double) amount


Discussion

No Comment Found

Related MCQs