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
Can destructor be overloaded?
#include
Can you inherit a private class?
What language is oop?
What makes a language oop?
Whats oop mean?
What is an example of genetic polymorphism?
Can we override main method?
What is difference between abstraction and encapsulation?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
Why is polymorphism used?
What is oops concept with example?
what is the drawback of classical methods in oops?
What does I oop mean?
What is a class in oop?