What are the components of class in C++?

A Class is a user defined data-type which has data members and member functions . Data members are the data variables and member functions are the functions used to manipulate these variables and together these data members and member functions defines the properties and behavior of the objects in a Class.

Sizin İçin Seçtik  What are the two components of an object in Java?

Leave a Reply

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

What are the components of class in C++?

A Class is a user defined data-type which has data members and member functions . Data members are the data variables and member functions are the functions used to manipulate these variables and together these data members and member functions defines the properties and behavior of the objects in a Class.

Sizin İçin Seçtik  What are the contents of class?

Leave a Reply

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