Java – Create Thread by Extending Thread Class