結果 : extending thread class and implementing runnable interface