With the help of a suitable example explain the concept of objects and classes.
Answers
Answered by
15
Answer:
Class: The building block of C++ that leads to Object Oriented programming is a Class. 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. ... For Example: Consider the Class of Cars.
Similar questions