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
Explain java coding standards for methods?
Define inheritance?
Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?
What are singleton services?
What is java literals?
What is the difference between comparison done by equals method and == operator?
How do I remove a character from a string in java?
What is the history of java?
What is the difference between iterator and list iterator?
What is the final access modifier in java?
define the terminology association.
What are static initalizers in java ?
How do you sort objects in java?
Discuss 2D arrays.
Explain restrictions for using anonymous inner classes?