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
What is map and hashmap in java?
What are passing parameters?
What is type conversion in java?
What does .equals do in java?
How do you check if an arraylist is not empty?
What does those terms actually mean included in the j.d.k i.6?
What is the declaration statement?
What is Garbage Collection in Java
Explain the significance of listiterator.
What does += mean coding?
What are the advantages of packages in java?
What is jit and its use?
What is codebase?
Can a final method be overloaded?
Explain different types of wrapper classes in java?