What is the role of the `init()` method in a 'Hello, World' applet?
The `init()` method is used to initialize the appletâ€™s resources, such as setting up any variables or loading images before the applet is displayed.
Good! The `init()` method is indeed used for initialization tasks before the applet starts displaying content.
Can you explain why you might put certain setup tasks in `init()` rather than in `paint()`?