Applet Interview Question and Answers
| 1. | What is an applet? |
|---|---|
| Applet is a dynamic and interactive program that runs inside a web page displayed by a java capable browser. | |
| 2. | How will you initialize an applet? |
|---|---|
| By including the initialization code in the init() method. | |
| 3. | What is the lifecycle of an applet? |
|---|---|
|
|
| 4. | How do you set security in applets? |
|---|---|
| Using setSecurityManager() method. | |