What are the advantages of inheritance?
Answer Posted / axuu
Inheritance offers the following advantages --
Developement model closer to real life object model with
hierarchical relationships
Reusability -- facility to use public methods of base class
without rewriting the same
Extensibility -- extending the base class logic as per
business logic of the derived class
Data hiding -- base class can decide to keep some data
private so that it cannot be altered by the derived class
| Is This Answer Correct ? | 32 Yes | 8 No |
Post New Answer View All Answers
Is abstract thinking intelligence?
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 does no cap mean?
What do you mean by variable?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
What is class and object in oops?
What is polymorphism give a real life example?
What is the main feature of oop?
What is interface? When and where is it used?
What is oops in simple words?
What is new keyword in oops?
What is abstraction with example?
What is polymorphism used for?
write a program to find 2^n+1 ?
Give two or more real cenario of virtual function and vertual object