What is the entry point of a program in Java?

7. What is the entry point of a program in Java?

  1. main() method
  2. The first line of code
  3. Last line of code
  4. main class

Answer: A) main() method

Explanation:

Generally, the main() method is treated as the point where the flow of code starts.

Comments and Discussions!

Load comments ↻






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