
Explain types of java programs

Types of Java Programs:
Standalone Applications
Web Applications
Enterprise Applications
Console Application
Web services

Exactly there are two types:
1.Application program
2.Applet program
The above discussion is comes under this category.

Two basic types of Java A) stand-alone applications B) applets
A stand-alone application is a program that runs on its own, without depending on a Web browser. You've been writing stand-alone applications all along. Any class that has a main() routine defines a stand-alone application; running the program just means executing this main() routine.
An applet is a program that runs in a rectangular area on a Web page. applet is for browsers like firefox, chrome or IE "well, An applet is a program written in the Java programming language that can be included in an HTML page.