Why main method is called first in java?
Answer / Pulkit Raj Saxena
The main method is called first when running a Java program because it serves as the entry point for program execution. The JVM starts by finding and executing the main method.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is hashmap and map?
What is a class reference?
Why put method is used?
Why singleton is not thread safe?
can any one tell me when do u go for inheritance and polymorphism
What is difference between synchronize and concurrent collection in java?
What is a Java switch statement, and how can it be used?
What are non-access modifiers?
How do I compare two strings in word in java?
What are class members by default?
what is meant wrapper classes?
What is the difference between jdk and jre?