What is a class?

Answer Posted / kumar vishal

In general a class is a group of objects. for example
mango,apple, banana, grapes etc. is a group of fruits.

But in oops concept, a class is a collection of member data
and member function.

Is This Answer Correct ?    22 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which language is pure oop?

543


What do you mean by overloading?

571


How to use CMutex, CSemaphore in VC++ MFC

4319


What is abstraction with example?

593


What is abstraction in oop with example?

635






What is difference between polymorphism and inheritance?

609


to find out the minimum of two integer number of two different classes using friend function

1634


What is abstraction in oops with example?

760


What are the important components of cohesion?

546


Why oops is important?

597


What are the 4 pillars of oop?

660


What is abstraction example?

610


Write a c++ program to display pass and fail for three student using static member function

2798


Write a program to reverse a string using recursive function?

1782


What is the significance of classes in oop?

585