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 are thread priorities and importance of thread priorities in java?
What do you mean by compiler?
What are loops in java? What are three types of loops?
Can private class be inherited in java?
Why string is a class?
Does java allow default arguments?
Can we access the non-final local variable, inside the local inner class?
Can we write a class without main method in java?
What is java util function?
What is the maximum size of arraylist in java?
What is an object class?
What are invisible components?.
What is Hierarchy of exception?
make a method which any number and any type of argument and print sum of that arguments.....
How do you read and print a string in java?