Accessing base class function using derived class object/handle in systemverilog

In reply to GVreugdenhil:

HI,

Thanks for reply.

In above example, base class function is called in derived class function. This is not what i need.

I want to access base class function using derived class handle.

ex.

initial begin
der der_h;
der_h.f(); <----------- because of polymorphism function “f” of der class will be called, But i want access base class function “f”, How can i access base class function “f” using “der_h” ?

Thanks,
Rahul