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


Please Help Members By Posting Answers For Below Questions

Whats oop mean?

597


What are objects in oop?

610


What is debug class?what is trace class? What differences are between them? With examples.

1612


What are the benefits of oop?

607


What is the difference between procedural programming and oops?

559






what are the ways in which a constructors can be called?

1584


what type of questions

1697


What is the difference between abstraction and polymorphism?

619


What is the full form of oops?

612


write a program to find 2 power of a 5digit number with out using big int and exponent ?

1897


Why we use classes in oop?

583


What is stream in oop?

841


What is the difference between a mixin and inheritance?

524


Why do pointers exist?

663


What is destructor example?

597