In essence, applets and Java applications share many of the same resources and features. As you will learn in the next section, the major anatomical difference between an applet and an application that makes both of them unique is that an applet extends the java.applet.Appletclass, and an application utilizes the main()method. On a higher level, an application is not as restricted as an applet in terms of what it can access. On the other hand, applications cannot be embedded into HTML pages for any Internet user to view with a Java-capable browser. Applets and applications overlap in many areas, but they are specifically designed for different environments.
No comments:
Post a Comment