比如:
create or replace type A as object (
rowsID integer;
member procedure printRowsID
);
create or replace type body A as
member procedure printMembers is
begin
dbms_output.put_line(rowsID);
end;
end;
create or replace type B under A (
roundNO number(2),
overriding member procedure printMembers
);
create or replace type B as
overriding member procedure printMembers is
begin
dbms_output.put_line(roundNO);
end;
end;
在B对象中重载了printMembers
但我想在B的printMembers方法中调用A的printMembers方法
在java中,直接用super.print