classes in CPP are?
Answers
Answered by
0
Answer:
Class: A class in C++ is the building block, that leads to Object-Oriented programming. 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 C++ class is like a blueprint for an object.
Explanation:
As a packet the data are encapsulated in class...Using import we can reuse it in another program.
Similar questions