blogspam, actual url is <a href="http://javarevisited.blogspot.com/2011/07/java-multi-threading-interview.html" rel="nofollow">http://javarevisited.blogspot.com/2011/07/java-multi-threadi...</a>
"write it again using new java 5 concurrent classes"<p>Java 5 was EOL'd in 2009. While it's good to understand some of the fundamentals (wait(long) is actually pretty tricky to use in practice), it'd be ridiculous not to allow anything introduced in the "new" java 5.