What is inheritance?

Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.

What is inheritance?

Rating:

Inheritance is a relationship between two or more classes. In inheritance, one class (called descendant) incorporates all or part of the definition of another class (called ancestor) into its own definition. In PowerBuilder, windows, user objects, and menus can be derived from the existing classes using inheritance.

The use of inheritance provides the following benefits:

  • All changes in the ancestor class are reflected in all its descendants. Therefore, these changes are not required to be made in the descendant classes manually. This saves coding time and makes the application easier to maintain.

  • The descendants inherit the ancestor's scripts. Therefore, the scripts are not required to be re-written.

  • Rating:



    Other articles

    Click here to Article home

     
    uCertify.com | Our Company | Articles | Privacy | Security | Contact Us | News and Press Release | uCertify India
    MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD Cisco Certification: CCNA, CCENT, A+, Network+, Security+
    Oracle Certification: OCP 9i, OCP 10g, OCA 9i, OCA 10g CIW foundation    EC-212-32    CISSP    Photoshop ACE    Adobe Flash ACE
    © 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.