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
write knight tour problem which is present in datastructure
What is the real time example of inheritance?
What is difference between oop and pop?
• What are the desirable attributes for memory managment?
What is the point of polymorphism?
Can main method override?
What is encapsulation process?
Why is object oriented programming so hard?
How do you achieve polymorphism?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
What is a superclass in oop?
What is oops with example?
What is abstraction example?
Why do we use class?
What is encapsulation c#?