
Post


@EclipseJavaIDE This will print "Hi Hi "
Test#run() will print one "Hi "
Test#interrupt() will interrupt the current thread which is allowed since it is interrupting itself.
Test#start() will print the second "Hi " because the class extends Thread.
English

@EclipseJavaIDE Prints Hi, then throws InterruptedException on start ?
English




