With the help ofa suitable example explain the concept of object and classes
Answers
Answered by
1
Answer:
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
Math,
5 months ago
Political Science,
5 months ago
Psychology,
5 months ago
Hindi,
11 months ago
Physics,
11 months ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago
Geography,
1 year ago