Does main need to be in a class?

Yes, the Main method is required to run a function although a java class can be without the Main method .

Sizin İçin Seçtik  What does typedef int mean in C?

Leave a Reply

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