Applet Interview Question and Answers
9. | What is the sequence of interpretation, compilation of a java applet? |
---|---|
|
|
10. | Which method is called by applet class to load an image? |
---|---|
getImage(URL object, filename) is used for this purpose. | |
11. | How does applet recognize the height and width? |
---|---|
Using getParameters() method. | |
12. | What is the relationship between clipping and repainting? |
---|---|
When a window is repainted by the AWT painting thread, it sets the clipping regions to the area of the window that requires repainting. | |