Table Of Contents

Establishing Inheritance Relationships within a Project

Last Modified: February 27, 2020

Inheriting code from a parent class enables you to avoid writing redundant code by reusing the methods the parent class defines. You can override methods the parent class defines with methods on the child class member list to handle requirements specific to the child class.

Complete the following steps to create a child class that inherits methods from a parent class.

  1. Right-click the class that you want to create a child from and select Create child class. The child class opens.
  2. In the Architecture view, verify that the class you created the child from is listed as the parent of the child class.
  3. Save the class to apply the inheritance setting.

Recently Viewed Topics