If you would like to experiment with other parameters that RainbowText has implemented, you can find a description of them on the RainbowText page. This is a comment for the benefit of a person reading the code itself. It is essentially ignored by the compiler that translates the program into the bytecode that the browser runs. We can now call it by the name Applet . We need this class in order to create our applet.
Classes usually come in packages.
The public modifier enables anyone using the HelloWorld.class file to access the HelloWorld class that lies within. This is necessary so that the browser can find our class. Sometimes we may declare a class as private, so the messy details are hidden from programmers who use the file. We will talk more about information hiding later. For now, let's remember that when you create code to give to someone else, you usually don't want them to have to deal with the details of the code.