Syntax error : System verilog keyword 'void' is not expected to b used in this context

In reply to debuggerzc:

I think your knowledge of OVM or SV is so pitty. I suggest you that read some book about it and do some research by yourself. So maybe you have a great development.
By the way, this problem is that you dont execute class A’s new() to instantiate a instance of A in class B. You just do so in class C.
Oh, my god. You must have a deep study on OVM or SV.