what is difference between class and object?

Answer Posted / dara

Class is templet for an object.Object is an instance of a class.

Is This Answer Correct ?    189 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between string and stringbuffer?

862


How to sort an unsorted array in java?

883


Is java 11 paid version?

740


What are the advantages of java over C++?

944


Which eclipse is best for java?

762


Can we create object of inner class in java?

704


What are the advantages and disadvantages of reference counting in garbage collection?

790


How can we use primitive data types as objects?

755


What is an object in java and how is it created?

846


Can we have multiple classes in a single file?

741


How to check if a list is sorted in java?

810


Which of the following is not an isolation level in the JDBC

1904


What is the most important feature of java? What is an interface?

779


Can a class be defined inside an interface?

770


What does 3 dots mean in java?

751