Programming - Applets
You Are Here :: Home > JAVA > Applets - General Questions
25. |
___________________ are not capable of reading and writing the user's file system.
|
A. |
Applets |
B.
|
Jsp's |
C.
|
Servlets
|
D.
|
Swings
|
|
Answer: Option A
Explanation:
Applets are not capable of reading and writing the user's file system. |
|
26. |
How many lifecycle methods in applets?
|
|
Answer: Option D
Explanation:
4 lifecycle methods in applets |
|
27. |
____________________ method is called to initialized an applet
|
A. |
init() |
B.
|
start() |
C.
|
stop()
|
D.
|
destroy()
|
|
Answer: Option A
Explanation:
init(): This method is called to initialized an applet |
|
28. |
_____________________ method is called after the initialization of the applet.
|
A. |
init() |
B.
|
start() |
C.
|
stop()
|
D.
|
destroy()
|
|
Answer: Option B
Explanation:
start(): This method is called after the initialization of the applet. |
|
29. |
_____________________ method can be called multiple times in the life cycle of an Applet.
|
A. |
init() |
B.
|
start() |
C.
|
stop()
|
D.
|
destroy()
|
|
Answer: Option C
Explanation:
stop(): This method can be called multiple times in the life cycle of an Applet. |
|
30. |
_____________________ method is called only once in the life cycle of the applet when applet is destroyed.
|
A. |
init() |
B.
|
start() |
C.
|
stop()
|
D.
|
destroy()
|
|
Answer: Option D
Explanation:
destroy(): This method is called only once in the life cycle of the applet when applet is destroyed. |
|
« prev
next »