I am trying to print numbers from 1 to 10 in sequential order with two different threads, but output is not always same [closed]
solved I am trying to print numbers from 1 to 10 in sequential order with two different threads, but output is not always same [closed]