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? A1. …



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? A2. …



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 fact …



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 items …



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 holding …



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 holding …



300+ Java Interview FAQs

800+ Java Interview Q&As

Top