What's the difference between typecasting and converting? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What's the difference between typecasting and converting?

3rd Oct 2016, 1:24 PM
Anton Kucherov
Anton Kucherov - avatar
1 Answer
+ 1
i think typecasting is assinging a type to a compatible type and converting creates a new instance. can you give an an example?
23rd Oct 2016, 7:30 PM
Wolfgang Meindl
Wolfgang Meindl - avatar