Science, asked by rohithachowdary660, 1 year ago

Define class. explain how an object is created in c++ with help of an example .

Answers

Answered by Hacket
0
It is a user defined data type, which holds its own data members and member functions, which can be accessed and used by creating an instance of that class. A class is like a blueprint for an object. For Example: Consider the Class of Cars.
Similar questions