what is the difference between class and object?

Answer Posted / rashid

Class is nothing but it is the collection of data member and
variable while object is an instance of a class.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is overloading and its types?

839


What is polymorphism and why is it important?

791


Is data hiding and abstraction same?

788


What is constructor overloading in oop?

884


what is the sylabus for priliminaries?

1926


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1656


What do you mean by abstraction?

836


What is the real life example of polymorphism?

866


Which is better struts or spring?

824


Which type does string inherit from?

858


What is class and example?

827


What is polymorphism explain its types?

939


What is the difference between a constructor and a destructor?

873


Why do we use oop?

843


What are oops functions?

793