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 language is not a true object oriented programming language?
What is cohesion in oop?
What is protected in oop?
What is overloading in oop?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What is encapsulation in oops?
Why do we need oop?
What is polymorphism in oop example?
Why do we use class in oops?
What is pointer in oop?
Can an interface inherit a class?
What is class encapsulation?
What is difference between polymorphism and inheritance?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
What is an advantage of polymorphism?