Java Programming
What is the difference between thenApply() and thenCompose() in CompletableFuture?
Java Programming
What is a Spliterator in Java?
Java Programming
What is the NIO ByteBuffer and what are heap vs direct buffers?
Java Programming
What are the SOLID principles in Java OOP?
Java Programming
What is a functional interface with a default method — does it remain functional?
Java Programming
What are lambda expressions in Java?
Java Programming
How do you create a custom exception in Java?
Java Programming
What is the difference between the stack and heap memory in the JVM?
Java Programming
What is a sealed class in Java (since Java 17)?
Java Programming
What is the difference between Predicate.not() and explicit negation?
Java Programming
What are annotations in Java?
Java Programming
What is the strategy pattern in Java?
Java Programming
What is the difference between JDK, JRE, and JVM?
Java Programming
What is the Observer pattern in Java?
Java Programming
What is BlockingQueue and what are common implementations?
Java Programming
What is the difference between Error and Exception in Java?
Java Programming
What is the Selector in Java NIO and how does it enable non-blocking I/O?
Java Programming
What are Java generics?
Java Programming
What are the eight primitive data types in Java?
Java Programming
What is the synchronized keyword?
Java Programming
What is the difference between ArrayList and LinkedList?
Java Programming
What is a Checked Supplier / Function in functional Java?
Java Programming
What is the difference between wait() / notify() and the higher-level concurrency utilities?
Java Programming
What is a StringJoiner / String.join()?
Java Programming
What is the Map.compute() / computeIfAbsent() / computeIfPresent() family?
Java Programming
What is the Producer-Consumer pattern in Java and how is it typically implemented?
Java Programming
What is the difference between BIO, NIO, and NIO.2 in Java?
Java Programming
What is the PECS rule (Producer Extends Consumer Super) in Java generics?
Java Programming
What is inheritance in Java?
Java Programming
What is CompletableFuture in Java 8?
Java Programming
What is the difference between peek() and forEach() in Streams?
Java Programming
What is the atomicity gap on long and double in Java?
Java Programming
What is the DAO pattern in Java?
Java Programming
What is the difference between throw and throws in Java?
Java Programming
What is StampedLock in Java 8?
Java Programming
What is the difference between deep copy and shallow copy?
Java Programming
What is the String Pool in Java?
Java Programming
What is the Builder pattern and when is it useful in Java?
Java Programming
What is reflection in Java?