When a class is created as a subclass, the class inherits all attributes and methods of the super class. A name conflict that occurs during inheritance can be handled by either a system or a user. To resolve the name conflict directly, add the INHERIT clause to the CREATE CLASS statement.
CREATE CLASS
.
.
.
INHERIT resolution [ {, resolution }_ ]
resolution :
{ column_name | method_name } OF super class [ AS alias ]
For the attr_mthd_name in the INHERIT clause, specify the name of the attribute or method of the super class to inherit. With the ALIAS clause, you can resolve a name conflict that occurs in multiple inheritance statements by inheriting a new name.