Meet Patel

I am a passionate programmer, blogger, and developer by choice. I like to write and contribute to the developer community.

Deprecated Methods of Thread Class in Java : Free Java Tutorials

There are three deprecated methods in the Thread Class as of now. A deprecated method is the one that is discouraged from practice by programmers, typically because it is dangerous, or because a better alternative exists. We will see in detail about such methods in this tutorial. Java multithreading concept is implemented by using the …

Deprecated Methods of Thread Class in Java : Free Java Tutorials Read More »

Deadlock and Starvation in Java : Free Java Tutorials

Deadlock and Starvation are two very important concepts in Java. Starvation occurs when two or more threads get blocked and wait for each other for locks or resources. Deadlock is the extreme version of starvation where threads wait for an infinite amount of time and program execution reaches an impasse. If two threads are waiting …

Deadlock and Starvation in Java : Free Java Tutorials Read More »

Inter-Thread Communication in Java – Part 1 : Free Java Tutorials

Inter-Thread Communication encompasses those Java concepts and features using which threads can communicate with each other. This communication helps to reduce the unnecessary waiting time of threads. Thus, it helps to improve overall performance. Two threads can communicate with each other by using wait(), notify() and notifyAll() methods. The thread which is expecting updation is …

Inter-Thread Communication in Java – Part 1 : Free Java Tutorials Read More »

Inter-Thread Communication in Java – Part 2 : Free Java Tutorials

Inter-Thread Communication encompasses those Java concepts and features using which threads can communicate with each other. This communication helps to reduce the unnecessary waiting time of threads. Thus, it helps to improve overall performance. Two threads can communicate with each other by using wait(), notify() and notifyAll() methods. In this tutorial, we will see an …

Inter-Thread Communication in Java – Part 2 : Free Java Tutorials Read More »