What is main method in java?



What is main method in java?..

Answer / Prachi Singhal

"The main() method is the entry point of every Java application. It is defined in a class, usually named as Main or MyApp, and it should be public, static, and void."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More J2EE Interview Questions

What does enterprise javabeans module contain?

1 Answers  


What is source file in java?

1 Answers  


What is use of final keyword in java?

1 Answers  


What do you understand by j2ee?

1 Answers  


What is the use of jit compiler in java?

1 Answers  


What are the four components of j2ee application?

1 Answers  


What is home interface?

1 Answers  


There are 2 classes . Class A and Class B. In Class A i declared a variable in private. if we can access this private variable in Class B. If yes means , how we can access ?

7 Answers   HCL, Itx Centrics, Virtusa,


What is enterprise information system?

1 Answers  


What is create method?

1 Answers  


Is java procedural or object oriented?

1 Answers  


Is j2ee and jee same?

1 Answers  


Categories