what is the difference between class and object?

Answer Posted / s.jagadeeswari

Class is just a template. It does not allocate memory
space. When instantiate the object, allocates the memory
space

Is This Answer Correct ?    22 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstraction encapsulation?

866


What are the three parts of a simple empty class?

1768


officer say me - i am offered to a smoking , then what can you say

1846


What is destructor in oop?

795


Why do we need polymorphism in c#?

884


What does and I oop and sksksk mean?

863


Why interface is used?

750


What is solid in oops?

809


to find out the minimum of two integer number of two different classes using friend function

1871


Is enum a class?

798


What is abstraction example?

835


What is the important feature of inheritance?

863


Is data hiding and abstraction same?

774


What is difference between multiple inheritance and multilevel inheritance?

880


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

3116