Hindi, asked by yugabindu1214, 11 months ago

explain the following terms with examples in c++.
1) class
2) object​

Answers

Answered by NaffyDharni
1

Answer:

sorry I don't know the answer but

please mark my answer as the brainliest

Answered by sk1962716
2

Answer:

In object-oriented programming languages like C++, the data and functions (procedures to manipulate the data) are bundled together as a self-contained unit called an object. A class is an extended concept similar to that of structure in C programming language; this class describes the data properties alone. In C++ programming language, a class describes both the properties (data) and behaviors (functions) of objects. Classes are not objects, but they are used to instantiate objects.

Similar questions