Why does Java use so many classes?

The Java language requires you to write code in classes and provides no other mechanism to do so . Thus you need a class because Java says so. This, by the way, is virtually the case for all purely object-oriented languages. Because this is a reserved keyword in Java.

Sizin İçin Seçtik  What are attributes in Java?

Leave a Reply

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