Extends Thread or Implementing Runnable Interface.....(MultiThreading)which is the best way to increase the application perfomance?
Runnable is better solution because of the following reasons:
1)Leaves more flexibility for the Runnable implementation to extend another class.
2)Separates the code from execution
3)Allows you to run your runnable from a Thread Pool, the event thread, or in any other way in the future.