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
Whats oop mean?
What are objects in oop?
What is debug class?what is trace class? What differences are between them? With examples.
What are the benefits of oop?
What is the difference between procedural programming and oops?
what are the ways in which a constructors can be called?
what type of questions
What is the difference between abstraction and polymorphism?
What is the full form of oops?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
Why we use classes in oop?
What is stream in oop?
What is the difference between a mixin and inheritance?
Why do pointers exist?
What is destructor example?