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
Why is static used?
What is the importance of hashcode() and equals() methods?
What is the difference between stringbuffer and stringbuilder class?
How do I find and replace in word?
How do you implement polymorphism in our day to day life?
How many types of string data types are there?
What is google full form?
Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?
What is an example of character?
What is square root in java?
When can an object reference be cast to an interface reference in java programming?
Which sort is best in java?
What is a locale?
What is the function of java?
What does g mean in regex?