what is the difference between class and object?

Answer Posted / rahul

Class : class ia a blueprint or prototype from which object
are created
Object: Object is a Software bundles of related state and
behavior.

Is This Answer Correct ?    14 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

1552


What is polymorphism and why is it important?

540


What is oops in programming?

549


what type of question are asked in thoughtworks pair programming round ?

1734


What does no cap mean?

567






Why do we use oops?

561


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

1615


Where is pseudocode used?

543


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

1631


What is class in oop with example?

593


What are the benefits of polymorphism?

584


What is the example of polymorphism?

537


Do you know about multiple inheritance?

618


What is polymorphism oop?

592


What type of loop is a for loop?

654