Applets
Applets
Applets
Ans: Applet is a dynamic and interactive program that runs inside a web page displayed by a java capable browser.
Ans: a)Application must be run on local machine whereas applet needs no explicit installation on local machine.
b)Application must be run explicitly within a java-compatible virtual machine whereas applet loads and runs itself
automatically in a java-enabled browser.
d)Application starts execution with its main method whereas applet starts execution with its init method.
e)Application can run with or without graphical user interface whereas applet must run within a graphical user
interface.
Ans:When the applet class file is not in the same directory, codebase is used.
25.Which of the following attributes are compulsory with an <applet> tag?. code,height & width.
29.Hostile Applets:Its an applet which when downloaded attempts to exploit your system’s resources in an
inappropriate manner.It performs or causes you to perform an action which you would not otherwise care to
perform
Panel