Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive / In computer programming would you say that a function could also be called an inheritance product due to the reuse of it in the program? A while loop that calls the function once the statement is true can be used over and over

In computer programming would you say that a function could also be called an inheritance product due to the reuse of it in the program? A while loop that calls the function once the statement is true can be used over and over

Computer Science

In computer programming would you say that a function could also be called an inheritance product due to the reuse of it in the program? A while loop that calls the function once the statement is true can be used over and over.What do you think?

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE

Answer Preview

I think you have confused inheritance with polymorphism which is closer in application to function reuse than inheritance.

Inheritance is the feature of an object oriented programming language where a descendant object created from a parent object acquires it's parents features and methods. These features can then be extended and methods can be enhanced or augmented to achieve different functionality in the descendant object apart from what it got for free from inheritance.

On the other hand, no matter what the "while loop" does with a function it cannot extend its behaviour in a substantial way.

Related Questions