package multiplethread_multitask;
//perform single task with multiple threads Using extend method
class Sample1 extends Thread{
public void run() {