HI All,
function new(string path = “some_name”);
super.new(path);
endfunction
function new(string name= “some_name”);
super.new(name);
endfunction
What are the difference between name and path based constructor?
Generally I use name based constructor, what could be the use case of path?
According to my view: path based constructor can be used in factory instance override where user can mention exact path of the component to be replaced. Is this correct ?
Thank You,