Home »
MCQs »
Scala MCQs
Using a keyword as a value will lead to –
34. Using a keyword as a value will lead to -
- Error
- Compile with the NULL value
- Warning
- None of these
Answer: A) Error
Explanation:
The compiler will throw an error if we try to use keywords as identifiers.