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 are the uses of java?
Which sorting algorithm is in place?
How do you override a method in java?
What is an empty list in java?
What is Session reduplication and how its done?
What is a java object and java application?
what is the messsage u r going to get from an objectoriented programing?
Why pointers are not used in java?
How do you add spaces in java?
What is the use of java?
Which is easier netbeans or eclipse?
How we create object in copy constructor?
What restrictions are placed on method overloading?
What is difference between an object and a class?
Name few java util classes introduced with java 8 ?