Home »
MCQs »
Scala MCQs
Which type of typecasting is done by the compiler?
26. Which type of typecasting is done by the compiler?
- Implicit Conversion
- Explicit Conversion
- Instance conversion
- None of these
Answer: A) Implicit Conversion
Explanation:
In the implicit type casting of type – the compiler itself cast the type of the value/variable.