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

Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2101


What is byval and byref? What are differences between them?

1792


Why do we use inheritance?

716


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

1749


What are objects in oop?

702






Which is better struts or spring?

699


Why do we need polymorphism in c#?

793


What is the diamond problem in inheritance?

674


program for insertion ,deletion,sorting in double link list

2359


How many human genes are polymorphic?

660


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2133


What does sksksk mean in text slang?

1688


What does and I oop mean?

710


What is interface in oop?

757


Can we override main method?

687