what is abstract class ?
when is used in real time ?
give a exp
Answer Posted / mms zubeir
First of all, a class is a software entity to represent a
concept. If the entity exists in real world, then, we can
create object of the class which makes sense. This is
called as a concrete class.
For example, Lion, Dog, Car, Employee, etc.
An abstract class is a class which represents a concept,
the object of which is not available in the real world.
This is merely a concept alone. There are object in the
real world which resembles this concept.
For example, Animal, Vehicle, Person, etc.
| Is This Answer Correct ? | 26 Yes | 8 No |
Post New Answer View All Answers
What are oops methods?
why reinterpret cast is considered dangerous?
Can static class have constructor?
What do you mean by overloading?
What is a class oop?
What does sksksk mean in text slang?
How is class defined?
How do you achieve polymorphism?
How do you answer polymorphism?
What is an example of genetic polymorphism?
What are the benefits of polymorphism?
What is abstraction with example?
What is the difference between inheritance and polymorphism?
write a program to find 2^n+1 ?
What is a superclass in oop?