what is difference between class and object?

Answer Posted / muthusenthil

Class is a template(type) or blue print its state how
objects should be and behave. eg consider a construction
plan which is a class with this description mentioned in a
plan we can constructs 'n' number of buildings of same type.
these buildings are consider to be an objects come under
same type of that plan.
Object is defined as a software construct which binds data
and logic or methods(functions)together.

Is This Answer Correct ?    230 Yes 47 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is map and hashmap in java?

611


What are passing parameters?

581


What is type conversion in java?

569


What does .equals do in java?

524


How do you check if an arraylist is not empty?

569






What does those terms actually mean included in the j.d.k i.6?

1593


What is the declaration statement?

502


What is Garbage Collection in Java

600


Explain the significance of listiterator.

576


What does += mean coding?

503


What are the advantages of packages in java?

567


What is jit and its use?

574


What is codebase?

525


Can a final method be overloaded?

500


Explain different types of wrapper classes in java?

591