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
List any five features of java?
How do you start a thread?
Explain the difference between string, stringbuffer and stringbuilder in java?
How do you use equal in java?
What is the maximum size of list in java?
How many bits is a double?
What is the difference between sop and work instruction?
Can we override a variable in java?
Explain about instanceof operator in java?
What are the advantages of autoboxing?
How do generics work?
What is meant by main method?
What do you mean by pointer value and address?
Can memory leak in java?
what is difference between equals and ==?