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 polymorphism explain its types?
What is the renewal class?
What is oops in programming?
What are objects in oop?
What is object in oop with example?
What is the example of polymorphism?
How can you overcome the diamond problem in inheritance?
Write a program to reverse a string using recursive function?
Can an interface inherit a class?
What type of loop is a for loop?
What is the benefit of oop?
write knight tour problem which is present in datastructure
What is multilevel inheritance?
What is class and object in oops?
i got a backdoor offer in process global,Bangalore..Can i work with it?