Threads

Thread and Multi-threading

  1. Java – Introduction to Threads
  2. Java – Different ways to create/spawn a Thread
  3. Java – Thread class v/s Runnable interface
  4. Java – Thread Scheduler
  5. Java – Important methods and constructors of a Thread class
  6. Java – Difference between start() and run() methods of Thread class
  7. Java – Importance of start() method in Thread class
  8. Java – Overloading run() method of Thread class
  9. Java – Effects of not overriding run() method of Thread class
  10. Java – Setting and getting name of a Thread
  11. Java – Thread priorities
  12. Java – Ways to prevent Thread execution
  13. Java – Ways to interrupt an executing Thread
  14. Java – Difference between yield() and join() and sleep() methods of Thread class
  15. Java – Synchronized keyword in detail ( method & block )
  16. Java – Synchronized method in detail
  17. Java – Synchronized block in detail
  18. Java – How to acquire and release lock for a Thread ?
  19. Java – Inter-Thread communication in detail
  20. Java – Thread lifecycle states with figure
  21. Java – Difference between notify() and notifyAll() methods
  22. Java – Deadlock v/s Starvation w.r.t Thread
  23. Java – Daemon threads
  24. Java – How to start a Thread ?
  25. Java – How to stop a Thread ?
  26. Java – How to suspend and resume a Thread ?
  27. Java – Difference between Forking and Multi-threading

Multi-threading enhancements

  1. Java 5 – ThreadGroup and its constructor and important methods
  2. Java 5 – Lock interface
  3. Java 5 – Re-entrant Lock and its constructor and important methods
  4. Java 5 – Executor framework or Thread pool concepts
  5. Java 5 – Callable and Future interfaces
  6. Java 5 – Difference between runnable and callable interfaces
  7. Java 5 – ThreadLocal and its constructor and important methods
  8. Java 5 – Difference between ThreadLocal and Inheritance

Interview Question

  1. Java – Interview question & answers on Threads

Suggest tutorials from Contact Us page

Happy Coding !!
Happy Learning !!