Why is class used in C++?

A class is used to specify the form of an object and it combines data representation and methods for manipulating that data into one neat package. The data and functions within a class are called members of the class.

Sizin İçin Seçtik  What is class give its example?

Leave a Reply

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