Get Started
1309

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 Answer
  • Workspace

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

Answer: D) (double) amount Explanation:

The Most Comprehensive Exam Preparation Platform

Get the Examsbook Prep App Today