Thursday, 23 November 2017

Methods Of Thread Class


Methods Of Thread Class


    Main & Useful Methods Of Thread.....


  1. start();
  2. run();
  3. wait();
  4. suspend();
  5. yield();
  6. stop();

Thread Methods

  • public void run();
  • public void start();
  • public void sleep(long milisecond);
  • public void join();
  • public void join(long milisecond);
  • public int getProirity();
  • public int setPriority();
  • public string getName();
  • public string setName();
  • public int getID();
  • public state();
  • public boolean isAlive();
  • public void suspend();
  • public void resume();
  • public void stop();
  • public void yield();

Sorry for be late...


Popular posts