Computer Applications
Answer
There are two types of Java programs — Java Stand-Alone Applications and Java Applets.
Java Stand-Alone Applications
A stand-alone Java application refers to a Java program that can run independently on a computer. Acrobat Reader is an excellent example of this type of application. In Java, every stand-alone application begins its execution with the main() method. Java stand-alone applications can be classified into two types:
a. Console based applications
b. Graphical User Interface based applications
Java Applets
Java applets are Java applications that run within a web browser. They are mainly used for internet programming. The applet is capable of performing many tasks on a web page, such as displaying graphics, playing sounds, and accepting user input.