what is abstract class ?
when is used in real time ?
give a exp
Answer Posted / manjunathtek
An Abstract Class is one in which the member function(s) at
the Base(Parent) Class are left undefined, but declared.
It's upto the Derived(child(ren)) Classes to Implement the
Functions declared in Base...
Ex:
Let us assume... As a father(Base Class), he has some Land
(Member Function), and he has not done any cultivation
(implementation) in it... As his Child(Derived Class), he
takes the Land(Member Function) from the Father(Base) and
does Agriculture(implementing the M.F. of Parent Class) in
the Child...
Concept of Inheritance...
Is it good enough!!!
| Is This Answer Correct ? | 30 Yes | 18 No |
Post New Answer View All Answers
What are the three main types of variables?
What is difference between polymorphism and inheritance?
What is static modifier?
How do you explain polymorphism?
i got a backdoor offer in process global,Bangalore..Can i work with it?
What is constructor overloading in oop?
Why is static class not inherited?
What is super in oop?
Which type does string inherit from?
• What are the desirable attributes for memory managment?
What is polymorphism oop?
What is an advantage of polymorphism?
what are the different types of qualifier in java?
Why is destructor used?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.