Following are some advantages of inheritance.
1. No need to write code from scratch. You can start coding with existing classes.
2. Through inheritance you can very easily convert small system into large systems
3. You can lots of classes with the same root but have different implementations of classes.
4. Code reusablity through inheritance increased.
5. Good at representing the objects
6. Inheritance provide a clear model structure which is easy to understand without much
complexity.
7. code are easy to manage and divided into parent and child classes.
Tuesday, July 24, 2007
0 comments:
Post a Comment
Your feedback is very important to me. Please provide your feedback via putting comments.