Home »
MCQs »
Scala MCQs
The Scala compiler starts executing from –
7. The Scala compiler starts executing from -
- The first line of code
- main() method
- main class
- End of code
Answer: B) main() method
Explanation:
The entry point of the flow of code in Scala is the main() method. There is no specific object required, it can be present in any object of the program.