In this section, you will read about the java applications and applets.
Applications and Applets
Now a days, Java is widely used for applications and applets. The code for the application in object format resides on the user's machine and is executed by a run-time interpreter. Applications are stand alone and are executed using a Java interpreter. Whereas, A Java applet produces object code which restricts local user resource access and can be normally be interpreted within the user's browser. Applets can be very useful, user friendly programs or can be a lot of fun. Applets are written in HTML documents and are executed from within a Java empowered browser such as Inter Explorer or Netscape. For instance, whenever you pull up any web page, the Java code is embedded within HTML code. On the contrary any program which is not embedded within HTML code is pertained to as an application.