Need for the $cast task in System Verilog

In reply to javatea:

But, this a general query OOPs query for which I am not able to find the answers. I am not interested in UVM as of now.

If you guys know, please share it.