Computer Applications
Why is the main method in Java so special?
Encapsulation & Inheritance in Java
13 Likes
Answer
Execution of the Java program begins with the main method. It is the main entry point to the program. It is called by Java Virtual Machine (JVM) to start the execution of the program.
Answered By
8 Likes
Related Questions
Main class by default inherits another class. Explain the given statement.
With the help of an example explain how you can access a private member of a base class.
What is meant by scope of variables? Show its application with the help of an example.
In what way does the access specifier of the base class have access control over the derived class? Show with the help of an example.