Advise for a fresher
Thread concepts in any language are a little difficult to understand and is due to lack of good explanation to the student. I see no text book or site giving easy understanding. I think I have fulfilled this. Please pass your comment to improve the postings.
Follow the same order of reading, else you will land in a forest with no guidance.
- Multithreading – Concepts
- Java Thread Basics
- Create threads in Java by Extending Thread class
- Create threads by implementing Runnable interface
- Create and Start thread with start()
- Creating and Spawning Threads
- Heavyweight and Lightweight Threads
- Java thread join() Example
- Thread Priorities
- Life cycle of Thread
- Suspending and Resuming a Thread
- Miscellaneous Thread Methods
- Synchronization and Deadlock
- ThreadGroup – Grouping of threads
- Thread Cancellation and Starvation
- Java Thread Scheduler
- How to create multiple threads as Heavyweight Process in Java?
- Create Array of Threads with Example
- What is yield in Java threads and how it differs from sleep?
- join() method with Example and Explanation
- What is isAlive() in Java with Example?
- What is difference between Process and Thread and Program?
- Difference between thread start() and run() in Java
- How to create a deamon thread in Java?
- Time bound Thread inactivation
Dear sir,
I have a question that is asked in a job interview is
“What is consumer and producer problem in java using synchronized and how to solve it?”
Kindly replay