Yes. In Java you always need one class with the function main to have the JRE run it.
Read moreWhat makes a good class in Java?
Some Other Java Class Design Guidelines Only the operations that are needed by the user of the class should be made public . An instance of a class should not send messages directly to components of another class. Operations defined in the class should be such that they operate on the data defined on the class.14 Ara 2016
Read more