what is difference between class and object?
Answer Posted / devarathnam c,kotagudibanda(po
Hi... Class is a blue print of an object,which is non-live
entity.
Object is instance of class,which is a live entity.
example: Employee is a class
Fruit is a class
but
DEVARATHNAM is an object
ROSE is an object
Is This Answer Correct ? | 99 Yes | 39 No |
Post New Answer View All Answers
Can we override private methods?
Explain the difference between private, public, package and protected in java?
Is it necessary for the port addresses to be unique? Explain with reason.
What is java instanceof operator?
What is Gang of four design patterns
What are the loops in java?
What is stack explain?
What exactly is methodology?
What does localhost mean?
Can java object be locked down for exclusive use by a given thread?
What is the difference between procedural and object-oriented programs?
Can singleton class be serialized?
Write a java program to check if a number is prime or not?
What's the base class of all exception classes?
What is an eror in java?