जॉइन Examsbookउत्तर : 4. "(double) amount"
Which of the following type casts will convert an Integer variable named amount to a Double type ?5
प्र: Which of the following type casts will convert an Integer variable named amount to a Double type ?
- 1(int to double) amountfalse
- 2int (amount) to doublefalse
- 3int to double(amount)false
- 4(double) amounttrue
- उत्तर देखें
- Workspace
उत्तर : 4. "(double) amount"
व्याख्या :
Answer: D) (double) amount Explanation: