JAVA Applet: Applet is a small program that doesn't have any main() method and which runs either in browser or in appletviewer.
JAVA Application: Java application is a program with main() method which has input and display output on standard command prompt.
There are many differences between JAVA Applet and JAVA Application:
1) Applet requires appletviewer and application requires java interpreter.
2) Applet can not have access to local files on system whereas application has.
3) Applet has paint() method and application has main() method.
4) Applet is required for building GUI based application.
Fig: Java Applet
For more Details Refer following link:

No comments:
Post a Comment