The Java Applets are small Java programs that are primarily used in Internet computing. They can be transported over the Internet from one computer to another and run using the Applet Viewer or any Web Browser that supports Java. An Applet, like any application program, can do many things for us. It can perform arithmetic operations, display graphics, play sounds, accepts user input, create animation, and play interactive games.
Although both the applets and stand-alone applications are Java programs, there are significant differences between them. Applets are not full-featured application programs. They are usually written to accomplish a small task or a component of a task. Since they are usually designed for use on the Internet, they impose certain limitations and restrictions in their design.