Differentiate between Java Applet and Java Application
Sr. No.
|
Java Applet
|
Java Application
|
1 |
Applets run in web pages
|
Applications run on standalone systems.
|
2 |
Applets are not full featured application programs.
|
Applications are full featured programs.
|
3 |
Applets are the small programs.
|
Applications are larger programs.
|
4 |
Applet starts execution with its init().
|
Application starts execution with its main ().
|
5 |
Parameters to the applet are given in the HTML file.
|
Parameters to the application are given at the command prompt
|
6 |
Applet cannot access the local file system and resources
|
Application can access the local file system and resources.
|
7 |
Applets are event driven
|
Applications are control driven.
|