Blog Archives
1 2 3

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. In a concurrent system different threads run concurrently, … Read more ›...

Members Only Content
Log In Register Free Q&As


03: 7 Things you must know about Java locks and synchronized key word

7 Things you must know about Java locks and synchronized key word summarizes the key basics. #1. Each Java class and object (i.e. instance of a class) has an intrinsic lock or monitor. Don’t confuse this with explicit lock utility class that were added in Java 1.5, … Read more...

Members Only Content
Log In Register Free Q&As


04: 6 popular Java multithreading interview Q&As for the experienced

Q1. Why do threads need to communicate with each other? A1. Inter thread communication is very similar to inter process communication where 2 or more processes communicate with other, the only difference being that inter thread communication happens within the same process (i.e. within the same memory model). … Read...

Members Only Content
Log In Register Free Q&As


05: 9 Java multithreading Q&As on concepts like blocking, sequencing, preempting, time slicing & daemon threads

Java multithreading Q&As on concepts like blocking, and debugging blocked threads. How do you sequence threads? what do you understand by the term preemptive scheduling? Q1. What are the different ways a Java thread gets blocked or suspended? How will you debug Java threading issues? A1. … Read more ›...

Members Only Content
Log In Register Free Q&As


06: 10+ Atomicity, Visibility, and Ordering interview Q&A in Java multi-threading

Q1. Why is it important to understand the difference between the “JVM memory model” and the computer “hardware memory model”? A1. 3 reasons why it is important to understand the JVM memory model and computer hardware memory model are: 1) JVM memory model and the physical hardware memory model architectures...

Members Only Content
Log In Register Free Q&As


07: Java FP – CompletableFuture monadic chaining with examples – part 1

This extends Future Vs. CompletableFuture interview Q&As with Java 8 functional programming (i.e. FP). Q1. Why was CompletableFuture introduced in Java 8 when you already had the Future interface? A1. The CompletableFuture implements both CompletionStage<T> and Future<T> … Read more ›...

Members Only Content
Log In Register Free Q&As


07: Java ThreadLocal Interview questions & answers

Java ThreadLocal Interview questions & answers in detail with code focusing more on when to use it and how to not abuse it. Q1. What is a ThreadLocal class? When to use it? How to not abuse it? A1. … Read more ›...

Members Only Content
Log In Register Free Q&As


1 2 3

Java FAQs to Fast-track & Go places

Big Data Engineer FAQs

Java Interview Q&As

Note that some posts belong to multiple categories.
Top