why we use main in java?

Answer Posted / poojadayal1989

we are using main in java bcoz its entry point of all
program..bcoz of static it can execute first.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I have an action without a form?

839


What is the purpose of the notify() method?

834


How is a java object message delivered to a non-java client?

790


What is ioc concept & explain it?

838


Why use a datasource when you can directly specify a connection details?

783


hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me

1995


For which statements does it make sense to use a label?

812


whats is statement and procedure

1822


Why use POJO when I can use hashmap

2294


How substring() method of string class create memory leaks?

784


Describe activation process?

2301


Is it possible to stop the execution of a method before completion in a sessionbean?

838


Are we allowed to change the transaction isolation property in middle of a transaction?

784


Why use a datasource when you can directly specify a connection details? (in a J2EE application)

3855


What is jboss?

776