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 basic syntax?
What is the difference between yielding and sleeping?
Can we execute a program without main?
What is java reflection api?
What is enhanced loop in java?
What are the data types supported by java?
What are the access modifiers available in java?
What is parseint?
What is a copy constructor in java?
In how many ways we can do exception handling in java?
What are the characteristics of Final,Finally and Finalize keywords.
Explain the access modifiers for a class, method and variables?
Explain importance of finally block in java?
What do you understand by the term wrapper classes?
Find the value of a specified element of the array arr[i] where 0 <= i <= n-1