What is the difference between class and object?
Answer Posted / suvarna handore.
Class is a basic entity which allow to combine data and
manipulators. In class definition we need to club data
members and member functions.The usability of structure and
function together in C++ is known as class.
Objects are the basic runtime entities. Object is an
instance of class.To access data members and member
functions within classes, objects are required. We can
access data from outside the class using objects.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the difference between static polymorphism and dynamic polymorphism?
What does <> mean pseudocode?
What is multilevel inheritance?
Why is destructor used?
How to hide the base class functionality in Inheritance?
What are the 5 oop principles?
Is abstract thinking intelligence?
What is meant by oops concept?
What is for loop and its syntax?
Why do we use inheritance?
What is property in oops?
What are classes oop?
what is different between oops and c++
Which language is not a true object oriented programming language?
What is the importance of oop?