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
What is command line argument in java?
What is a stack class in java ?
how to deploy apache tomcat server to weblogic server in java
What is final access modifier in java?
What is the difference between a window and a frame in java programming?
What is the format specifier?
What is the difference between length and length () in java?
What do you mean by an interface in java?
What is the length of a string?
What is an enumeration?
Is boolean a data type in java?
Explain when noclassdeffounderror will be raised ?
What is the purpose of the finally clause of a try-catch-finally statement in java programming?
Is multiple inheritance supported by java?
Can you instantiate the math class in Java?