How many classes are in a program?

The correct answer to the question “How many Classes can be defined in a Single Program” is, option (d). As many as you want . Inside a program, you can mention any number of classes, since there is no restriction, but the only thing that should be remembered is that all their names should be different.

Sizin İçin Seçtik  What is an example of a class object in Java?

Leave a Reply

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