What is the difference between the class and object in terms of OOP?

A class is a template for creating objects in program whereas the object is an instance of a class . A class is a logical entity while object is a physical entity. A class does not allocate memory space on the other hand object allocates memory space.2 Mar 2022

Sizin İçin Seçtik  Which tech stack is best for mobile app development?

Leave a Reply

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