report ysubdel .
interface i1.
methods : meth1 ,
meth2 .
endinterface.
class c1 definition.
public section.
interfaces : i1.
endclass.
class c1 implementation.
method i1~meth1.
write:/5 'I am meth1 from i1'.
endmethod.
endclass.
start-of-selection.
data : oref type ref to c1.
create object oref.
call method oref->i1~meth1.
OutputL:
Compilation error with error message :-
Implementation missing for method “I1~METH2”
No comments:
Post a Comment