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 do you know about the garbage collector in java?

823


What is the difference between keyword and identifier?

789


Can a class be a super class and a sub-class at the same time? Give example.

1158


What does serializing data mean?

723


What is the difference between object oriented programming language and object based programming language?

761


What is application tier?

782


what is object slice?

1771


What are the methods available in a class?

827


Explain the difference between an Interface and an Abstract class?

883


What is a local block?

890


Why isn’t there operator overloading?

813


Explain about map interface in java?

795


Why is whitespace important?

778


Differentiate between a constructor and a method? Can we mark constructors final?

951


What are the elements of java?

784