adspace
ctype(123.34,integer) - should it throw an error? Why or
why not?
Answer Posted / aravindreddy
It would work fine. As the runtime type of 123.34 would be
double,
and Double can be converted to Integer.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers