In reply to mariam triki: https://verificationacademy.com/forums/uvm/casting-parent-class-child-class#reply-58981