The Scala compiler starts executing from –

7. The Scala compiler starts executing from -

  1. The first line of code
  2. main() method
  3. main class
  4. 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.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.