I am asking that whether it is possible in the above code to have output as :
hello
one
main
hello
two Because print statement for hello occurs after print for thread name.So is it possible...
Type: Posts; User: peter_parker
I am asking that whether it is possible in the above code to have output as :
hello
one
main
hello
two Because print statement for hello occurs after print for thread name.So is it possible...
I have the following code on threads.I have a doubt that is it possible that any of the two threads created ie one and two will execute the 2nd print statement in run method before the first print...