what is difference between class and object?
Answer Posted / mantu mahapatra
class can exist without object, like model of a car can
exist without car.
object can't exist without class , like model of a car
can't exist without car.
which is physically exist in the real world that is known
as object and there logical Existence is known as class
| Is This Answer Correct ? | 4 Yes | 11 No |
Post New Answer View All Answers
Can we create a constructor in abstract class?
Explain the reason behind ending a program with a system.exit(0)?
What are keywords in programming?
What is private public protected in java?
What are the states of thread in java?
Difference between character constant and string constant in java ?
What are the steps that are followed when two computers connect through tcp?
How many decimal places is a double?
Which collection is best for sorting in java?
What does || || mean in math?
How does finally block differ from finalize() method?
Is java free for commercial?
What is the super void?
What are multiple inheritances? Is it supported by java?
What is a singleton class? Give a practical example of its usage.