Multi Threading

In Java, threads are lightweight processes and multithreading is a process of executing multiple thread concurrently.

There are two ways of creating a new thread in java.

  • By extending a Thread class.
  • By implementing a Runnable interface.

Learn more about Multi Threading..