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
Which type does string inherit from?
How many human genes are polymorphic?
What are different oops concepts?
What is polymorphism give a real life example?
What is encapsulation in oops?
What are the 3 pillars of oop?
What is destructor example?
What is abstraction in oop with example?
What is the oops and benefits of oops programming?
What is a class oop?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is balance factor?
What is abstraction in oops?
What is ambiguity in inheritance?
State what is encapsulation and friend function?