Maruthi Janardhan wrote:What error? Can you be specific? What I can see is that you are implementing Thread class. You should be extending Thread class. Otherwise there is nothing wrong with the code.
Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Henry Wong wrote:
Isn't this enough to cause a compile error?