What is the difference between an object and a class?
Answers were Sorted based on User's Feedback
Answer / manas
a class is a datatype that abstratcs data and implementations
while an object is an instance of the class which wraps up data. An object has identity, state and behavior
| Is This Answer Correct ? | 2 Yes | 0 No |
What are main features of oop?
What is virtual destructor? Why?
3 Answers Agile Software, College School Exams Tests, CSC,
What are the benefits of polymorphism?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
1. Define a class.
Give two or more real cenario of virtual function and vertual object
Who invented oop?
What are the benefits of interface?
Why a "operator=(...)" when there is a copy ctor?
Write pseudo code for push in a stack?
You have one base class virtual function how will call that function from derived class?
what are the disadvantages of C++?
25 Answers ATS, Infosys, UNI, Wipro,