What is a class and object Java?

A class is a non-primitive or user-defined data type in Java, while an object is an instance of a class . A class is a basis upon which the entire Java is built because class defines the nature of an object.

Sizin İçin Seçtik  Halterciler ne kadar maaş alır?

Leave a Reply

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