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 is the difference between inheritance and polymorphism?
What is encapsulation in simple terms?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What does and I oop mean?
What is pure oop?
What is the use of oops?
What is abstraction and encapsulation?
is there any choice in opting subjects like 4 out of 7
What is purpose of inheritance?
What is the advantage of oop over procedural language?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What is destructor oops?
Why oops is important?
What is the main feature of oop?
class type to basic type conversion