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
How do you read a char in java?
What do negative exponents mean?
What is the multi-catch block in java?
What is a nested structure?
What is struts in java?
How do you use parseint in java?
How can we make a class singleton?
What are wrapper classes in java?
How can we run a java program without making any object?
What does \ mean in regex?
What is square root in java?
What are the ways to instantiate the class class?
What is java used for on a computer?
What is finally and finalize in java?
What is diamond operator in java?