what is the difference between class and object?

Answer Posted / sanjith

Actually,
*Class is a collection of general declarations for data members and member functions ,that means it doesnot hold any memory.

*when we give certain values to a class ,objects are created.
that means a memory is allocated when objects are created.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

hi all..i want to know oops concepts clearly can any1 explain??

1685


What is static modifier?

638


What is this pointer in oop?

558


What is property in oops?

571


given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy

2150






Can we have inheritance without polymorphism?

619


What causes polymorphism?

577


what's the basic's in dot net

1744


c++ program to swap the objects of two different classes

1767


What is oops in programming?

570


Can you inherit a private class?

639


Is enum a class?

608


What is oops concept with example?

582


What is polymorphism and types?

607


What is an advantage of polymorphism?

601