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
How many classes can any class inherit java?
What is JDBC Driver interface?How can you retrieve data from the ResultSet
What is an argument java?
What are static variables and functions?
How does multithreading take place on a computer with a single cpu in java programming?
What is the difference between a static and a non-static inner class in java programming?
Are primitives objects?
What is the collections api?
What types of index data structures can you have in java?
What is the meaning of 3 dots in java?
What are exception handling keywords in java?
What is the final class?
What is starvation?
What is string data type?
How many bytes is a string in java?