What is the difference between an object and a class?
Answer Posted / manas
a class is a datatype that abstratcs data and implementations
while an object is an instance of the class which wraps up data. An object has identity, state and behavior
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the significance of classes in oop?
What exactly is polymorphism?
Can main method override?
what are the different types of qualifier in java?
What is the problem with multiple inheritance?
What is encapsulation in ict?
What is encapsulation oop?
What is encapsulation c#?
Why we use classes in oop?
Why is there no multiple inheritance?
What are objects in oop?
What is encapsulation with example?
What is encapsulation selenium?
What is abstraction encapsulation?
What is abstraction example?