Blog Archives

02: 5 Java multithreading scenarios interview

Java interview questions & answers on multithreading scenarios to judge your experience in building applications with concurrency in mind. Q1. Can you give some scenarios where you built concurrent systems?...



12: 5 Java synchronize & concurrency mgmt scenarios interview Q&As

This extends Q1. Can you give some scenarios where you had used multi-threading in Java applications? Q2. Can you give some scenarios where you used the synchronized keyword in Java?...



5 Java concurrency management interview Q&As

Concurrency is very important in any modern system, and this is one topic many software engineers struggle to have a good grasp. The complexity in concurrency programming stems from the...



Dealing with concurrent modifications in Java

There are scenarios where you need to deal with concurrent modifications in Java. Here are 2 scenarios that I can currently think of. Scenario 1: Looping through a list of...



JConsole for debugging deadlocks in Java

This is another debugging concurrency issues tutorial following on Debugging Java thread-safety, multi-threading, or concurrency issues tutorial. Step 1: Java code that creates a dead lock situation by a) thread-0...



jvisualvm to debug deadlocks in Java

This extends JConsole for debugging deadlocks in Java applications, using jvisualvm that gets shipped with your JDK. Step 1: Java code that creates a dead lock situation by a) thread-0...



300+ Java Developer Interview Q&As

800+ Java Interview Q&As

Top