結果 : write a program to create thread by extending thread class