What is the difference between class and object?
Answer Posted / johncz
Class is a template for the custom type that can be used as
variable. It defines types of data that class contains and
the set of functions to manipulate those data types. It is
just a recipe to be used when class is instantiated.
Object is an entity created using class template. Such an
object occupies computer’s memory. Each object of the class
is independent entity.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
hi all..i want to know oops concepts clearly can any1 explain??
What are benefits of oop?
What is inheritance and how many types of inheritance?
What is difference between inheritance and polymorphism?
to find out the minimum of two integer number of two different classes using friend function
What is coupling in oops?
What is the example of polymorphism?
What is encapsulation in oops?
write knight tour problem which is present in datastructure
any one please tell me the purpose of operator overloading
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
What is the difference between a mixin and inheritance?
Templates mean
Get me an image implementation program.
What is polymorphism give a real life example?