What is object and class explain?

The basic difference between Class and Object is that – Class is a user-defined datatype that has its own data members and member functions whereas an object is an instance of class by which we can access the data members and member functions of the class.6 Eki 2021

Sizin İçin Seçtik  How do you call a class method in Java?

Leave a Reply

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