How many classes can be defined?

How many classes can be defined in a single program? Explanation: Any number of classes can be defined inside a program, provided that their names are different . In java, if public class is present then it must have the same name as that of file. 10.

Sizin İçin Seçtik  How many classes are too many in Java?

Leave a Reply

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