Fork within loop with join ALL

In reply to dave_59:

With respect to the fork and join ALL inside for loop, I have a very basic question regarding the same.


for (i = 0; i<3;i++) begin
    automatic int j = i;
    fork 
       $display(j);
    join
end

Will the output for the above code will be :
0
1
2
???