why there are two way of using thread in java? [duplicate] why there are two way of using thread in java? [duplicate] multithreading multithreading