Home »
MCQs »
Java MCQs
What is the entry point of a program in Java?
7. What is the entry point of a program in Java?
- main() method
- The first line of code
- Last line of code
- main class
Answer: A) main() method
Explanation:
Generally, the main() method is treated as the point where the flow of code starts.