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
When arithmeticexception is thrown?
Is map sorted in java?
Is it possible for yielded thread to get chance for its execution again ?
Write a program to find the whether a number is an Armstrong number or not?
Explain about sets?
how to handle exceptions in ejb?
List some important features of java 10 release?
Which one of the following suits the description of a string better: derived or primitive?
what invokes a threads run() method? : Java thread
Can we serialize singleton class?
What’s the difference between the methods sleep() and wait()?
Can inner class be public in java?
What is the difference between dom and sax parser in java?
What are different types of references?
What is the difference between length and length() method in java?