What is the role of the `init()` method in a 'Hello, World' applet?
The `init()` method is where you define all your appletâ€™s content, such as drawing the 'Hello, World' message directly to the screen.
Thatâ€™s incorrect. The `init()` method is for initialization tasks, not for rendering content. The `paint()` method should be used for displaying content.
Can you describe the purpose of `init()` and how it differs from `paint()` in terms of functionality?