Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


why applet doesn't have main? isn't possible a program with
out main?

Answers were Sorted based on User's Feedback



why applet doesn't have main? isn't possible a program with out main?..

Answer / manjusinga

Applets are standalone programs which require a third party
tool for its execution that is either it is java enabled
web browser,or applet runner.so it doesnt have main().It is
possible to run a program without main.

Is This Answer Correct ?    27 Yes 2 No

why applet doesn't have main? isn't possible a program with out main?..

Answer / abcd

Before we discuss about the applet, let us know that there
are 2 categories where we use java to program,,,,they are
1. java stand alone and 2. web based programs

Applets fall under partial web based program. There is no
main(), as it does not require the same...we use
AppletViewer instead of the main() where the applet file is
embeded in the html file.....

Applet is a java file and we embed the same in the HTML
file and then we run the HTML embeded java (applet file)
thru the JDK tool AppletViewer.

Is This Answer Correct ?    15 Yes 2 No

why applet doesn't have main? isn't possible a program with out main?..

Answer / satya

yes it is possible

Is This Answer Correct ?    6 Yes 0 No

why applet doesn't have main? isn't possible a program with out main?..

Answer / nagaraju gurram

first of all we can write a program without main method .
and in case if applets they are intended for web development so the applets need to be alive during the navigation . but main will exit after completion of the execution and terminates the object .and main thing is main is a starting point of a program and there is no controlling on main but in case of web page we have to control the object during the navigation.that is the reason where an object should contain a life and through life cycle methods defined.............

Than Q

Is This Answer Correct ?    5 Yes 0 No

why applet doesn't have main? isn't possible a program with out main?..

Answer / varsha

yes

Is This Answer Correct ?    4 Yes 2 No

why applet doesn't have main? isn't possible a program with out main?..

Answer / pradeep kumar giri

yes it is poosible.

Is This Answer Correct ?    2 Yes 0 No

why applet doesn't have main? isn't possible a program with out main?..

Answer / farhat jahan

no it is not accurate

Is This Answer Correct ?    2 Yes 1 No

why applet doesn't have main? isn't possible a program with out main?..

Answer / ravi yadav

Applet are standalone programs which require a third side tool for its execution that is either java enabled web browser, or applet runner so it does not have main ()
it is possible to run a program without main method.

Is This Answer Correct ?    1 Yes 0 No

why applet doesn't have main? isn't possible a program with out main?..

Answer / rajagopal

in applet they have separate life cycle so it's don't need
main

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More Core Java Interview Questions

What is a arraylist in java?

0 Answers  


What does n mean?

0 Answers  


Give example to differentiate between call by value and call by reference.

0 Answers   TCS,


Does list maintain insertion order java?

0 Answers  


What is data type in computer?

0 Answers  


What environment variables do I need to set on my machine in order to be able to run java programs?

0 Answers  


Which class is the superclass for all the classes?

0 Answers  


Which is dependent variable?

0 Answers  


What is the definition of tree ?

0 Answers   Amazon,


Can we synchronize static methods in java?

0 Answers  


What is boolean used for?

0 Answers  


what are synchronized methods and synchronized statements? : Java thread

0 Answers  


Categories