What is the difference between class and object?

Answer Posted / kanchi

class is the advance version of structure because it contains the data and functions both so it is wrapped into a single unit called encapsulation.
Object is the instance of class and it always created at run time

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is polymorphism programming?

607


Is this job good for future? can do this job post grduate student?

1694


What is the difference between a constructor and a destructor?

617


What does <> mean pseudocode?

624


What is destructor give example?

608






Why is polymorphism important in oop?

637


What is oops in simple words?

585


I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

1632


what are the realtime excercises in C++?

2337


Why we use classes in oop?

585


Why is oop useful?

604


What is polymorphism what are the different types of polymorphism?

566


What are classes oop?

600


Why is destructor used?

587


What is oops?what is its use in software engineering?

559