Stephan van Hulst wrote:Would it help if it looked like this?
What happens here is exactly the same as what happens in your code, except that the thread and the task get assigned to a variable in between.
Yeah now i understood.. that was horrible formatting ..
But still my code doesn't have any ; denoting the end of anonymous class ..