Which class must be there in Java program?

Yes. In Java you always need one class with the function main to have the JRE run it.

Sizin İçin Seçtik  What is the correct way of declaring a class in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *