APPLET
APPLET
1) Which is a special type of program that is embedded in the webpage to generate the
dynamic content?
A) Package B) Applet C) Browse D) None of the above
11) Which Called when an applet begins execution, It is the first method called for any
applet?
A) void init()
B) void destroy()
C) boolean isActive()
D) None of the above
12) When an applet begins, the AWT calls the following methods, in this sequence?
A) init(),paint(),start()
B) Start(),paint(),init()
C) intit(),start(),paint()
D) paint(),start(),init()
14) This method is used to suspend threads that don’t need to run when the applet is not
visible?
A) destroy() B) paint() C) stop() D) start()
15) Which method is called only once during the run time of your applet?
A) stop() B) paint() C) init() D) destroy()
16) The APPLET tag is used to start an applet from both an HTML document and from an
applet viewer?
A) True B) False
17) Which is a required attribute that gives the name of the file containing your applet’s
compiled .class file?
A) CODE B) CODEBASE C) ALT D) NAME
19) Applet runs inside the browser and does not works at client side?
A) True B) False
23) An applet can play an audio file represented by the AudioClip interface in the
java,applet package Causes the audio clip to replay continually in which method?
A) public void play() B) public void loop()
C) public void stop() D) None of the above
25) Applets cannot make network connection exception to the server host from which it
originated?
A) True
B) False