Oop basic -SV - Inheritance

In reply to tejasakulu:

I want display_parent to be called just before the display method of child class.

module inheritence;
  initial begin // procedural block of code
    child_class c;
    c =new();
    c.display_parent().
    c.display();
  end
endmodule