initial begin
//create method (in uvm we use create method in place of (class_handle=new();))
seq_item = mem_seq_item::type_id::create();
question–>normally in system verilog code constructor function new() is called when u write like this
class_handle=new();
here in this case when is new function called. [/quote]
answer–>in uvm we use create method in place of (class_handle=new();)