Join Examsbook
1305 0

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

  • 1
    (int to double) amount
  • 2
    int (amount) to double
  • 3
    int to double(amount)
  • 4
    (double) amount
  • Show AnswerHide Answer
  • Workspace

Answer : 4. "(double) amount"
Explanation :

Answer: D) (double) amount Explanation:

Are you sure

  Report Error

Please Enter Message
Error Reported Successfully