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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is basic syntax?

1035


What is the difference between yielding and sleeping?

1105


Can we execute a program without main?

1014


What is java reflection api?

1012


What is enhanced loop in java?

985


What are the data types supported by java?

1020


What are the access modifiers available in java?

1124


What is parseint?

1009


What is a copy constructor in java?

1118


In how many ways we can do exception handling in java?

993


What are the characteristics of Final,Finally and Finalize keywords.

1172


Explain the access modifiers for a class, method and variables?

1139


Explain importance of finally block in java?

1034


What do you understand by the term wrapper classes?

1000


Find the value of a specified element of the array arr[i] where 0 <= i <= n-1

979