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 purpose of inheritance?
What is object in oops?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
when to use 'mutable' keyword and when to use 'const cast' in c++
#include
What language is oop?
Why polymorphism is used in oops?
Is html an oop?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is inheritance in simple words? How to use CMutex, CSemaphore in VC++ MFC What is advantage of inheritance? What is the point of oop? What is abstract class in oop? What is the problem with multiple inheritance?