Breaking News: Grepper is joining Read the official announcement!
Check it out


Sumit Rawal answered on May 17, 2023 Popularity 9/10 Helpfulness 1/10


More Related Answers

  • best chrome extensions
  • best chrome extensions
  • VS Extensions
  • best extensions for chrome
  • what are google extensions
  • chrome extension
  • expresions
  • execve

  • Extensibility#


    Using inheritance, one can extend the base class as per the requirements of the derived class. It provides an easy way to upgrade or enhance specific parts of a product without changing the core attributes. An existing class can act as a base class from which a new class with upgraded features can be derived.

    In the example above, you realize at a later point that you have to diversify this banking application by adding another class for MoneyMarketAccount. So, rather than implementing this class from scratch, you can extend it from the existing BankAccount class as a starting point. You can also reuse its attributes that are common with MoneyMarketAccount.

    Popularity 9/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Tags: whatever
    Link to this answer
    Share Copy Link
    Contributed on May 17 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.