Why objects are used in C++?

C++ Objects. When a class is defined, only the specification for the object is defined; no memory or storage is allocated. To use the data and access functions defined in the class , we need to create objects.

Sizin İçin Seçtik  What are the two main components of class object?

Leave a Reply

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