Q531
Which of the following type casts will convert an Integer variable named amount to a Double type?
A.
(double) amount
AnswerB.
(int to double) amount
C.
int to double(amount)
D.
int (amount) to double
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board