what is difference between class and object?
Answer Posted / akhandam revathi
CLASSES- A class is a collection of objects of similar
type. Ex:mango,apple and orange are members of the class
fruit.
OBJECTS- An object is an abstract representation of a real
world entity that has a unique identity,embedded properties
and the ability to interact with each other.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can a static method be final?
What are passing parameters?
Explain OOPs concept.
Difference between static synchronization vs. Instance synchronization?
what is object-oriented programming in java?
Can private class be inherited in java?
What a static class can contains?
How many types of constructors are used in java?
Why is whitespace important?
What is collection api?
What is string example?
What is the difference between notify and notifyall method?
What is jit compiler in java?
How to set the permissions to a file in java?
Explain about automatic type conversion in java?