Programming - Applets
You Are Here :: Home > JAVA > Applets - General Questions
31. |
The _____________________ method is called only one time in the life cycle on an applet.
|
A. |
init() |
B.
|
start() |
C.
|
stop()
|
D.
|
destroy()
|
|
Answer: Option A
Explanation:
The init() method is called only one time in the life cycle on an applet. |
|
32. |
Start() method may be called multiples time when the Applet needs to be started or restarted.
|
A. |
init() |
B.
|
start() |
C.
|
stop()
|
D.
|
destroy()
|
|
Answer: Option B
Explanation:
Start() method may be called multiples time when the Applet needs to be started or restarted. |
|
33. |
The stop() method can be called multiple times in the life cycle of applet like the start () method.
|
A. |
init() |
B.
|
start() |
C.
|
stop()
|
D.
|
destroy()
|
|
Answer: Option C
Explanation:
The stop() method can be called multiple times in the life cycle of applet like the start () method. |
|
34. |
The destroy() method is called only one time in the life cycle of Applet like init() method.
|
A. |
init() |
B.
|
start() |
C.
|
stop()
|
D.
|
destroy()
|
|
Answer: Option D
Explanation:
The destroy() method is called only one time in the life cycle of Applet like init() method. |
|
« prev