what is difference between class and object?
Answer Posted / kabita
class is a blueprint/framework which has no physical
existance and it is collection of similar properties and
behaviour of objects.
object is nothing which has physical existance, own
behaviour and properties.
it is also known as instance of class.
ex:Employee is a class and ram is aobject of this class.
| Is This Answer Correct ? | 42 Yes | 12 No |
Post New Answer View All Answers
Why string is immutable or final in java
What is the purpose of using java.lang.class class?
What is default size of arraylist in java?
What is an example of character?
How does thread synchronization occurs inside a monitor?
What are the advantages of java inner classes?
How do I enable java in safari?
What is difference between static class and singleton pattern?
Can a class be a super class and a sub-class at the same time? Give example.
Explain the importance of finally over return statement?
What is java dot?
What are keywords give examples?
What is the locale class in java programming?
What is meant by class loader? How many types are there?
What is the history of java?