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
Can we declare an interface as final?
Which non-unicode letter characters may be used as the first character of an identifier?
What is the synonym of procedure?
What is derived datatype?
What is a singleton class in Java?
What is the importance of finally block in exception handling?
What is boolean query?
What is high level language in computer?
What is merge sort in java?
How many types of interfaces are there?
What is difference between add() and addelement() in vector?
Why singleton class is used in java?
How do constructors use this() and super()?
Are functions objects in java?
How can we break singleton in java?