π Difference Between when() and doXxx() Methods in Mockito
https://www.baeldung.com/java-mockito-when-vs-do
https://www.baeldung.com/java-mockito-when-vs-do
Baeldung
Difference Between when() and doXxx() Methods in Mockito | Baeldung
Learn the advantages and disadvantages of the configuring a mock object the when().thenXxx() or the doXxx().when() way.
π Memory Management in Java Interview Questions (+Answers)
https://www.baeldung.com/java-memory-management-interview-questions
https://www.baeldung.com/java-memory-management-interview-questions
Baeldung on Kotlin
Memory Management in Java Interview Questions (+Answers) | Baeldung
A set of popular Memory Management-related interview questions and of course answers.
π Checking if a Java Class is βabstractβ Using Reflection
https://www.baeldung.com/java-reflection-is-class-abstract
https://www.baeldung.com/java-reflection-is-class-abstract
Baeldung
Checking if a Java Class Is βAbstractβ Using Reflection | Baeldung
Learn how to check whether a Java class is abstract using the Reflection API.
π Using JNA to Access Native Dynamic Libraries
https://www.baeldung.com/java-jna-dynamic-libraries
https://www.baeldung.com/java-jna-dynamic-libraries
Baeldung on Kotlin
Using JNA to Access Native Dynamic Libraries | Baeldung
Learn how to use JNA to access native code easily when compared to JNI.
π Difference Between request.getSession() and request.getSession(true)
https://www.baeldung.com/java-request-getsession
https://www.baeldung.com/java-request-getsession
Baeldung
Difference Between request.getSession() and request.getSession(true) | Baeldung
Understand the difference between calling HttpServletRequest#getSession() and HttpServletRequest#getSession(boolean).
π Java Default Parameters Using Method Overloading
https://www.baeldung.com/java-default-parameters-method-overloading
https://www.baeldung.com/java-default-parameters-method-overloading
Baeldung
Java Default Parameters Using Method Overloading | Baeldung
Learn how to use method overloading to simulate default parameters in Java.
π Garbage Collection and Cyclic References in Java
https://www.baeldung.com/java-gc-cyclic-references
https://www.baeldung.com/java-gc-cyclic-references
Baeldung
Garbage Collection and Cyclic References in Java | Baeldung
Learn how the JVM makes sure to collect the unreachable but cyclic object references
π How to Stop Execution After a Certain Time in Java
https://www.baeldung.com/java-stop-execution-after-certain-time
https://www.baeldung.com/java-stop-execution-after-certain-time
Baeldung on Kotlin
How to Stop Execution After a Certain Time in Java | Baeldung
Learn different ways to end a long-running execution after a certain time in Java.
π Executors newCachedThreadPool() vs newFixedThreadPool()
https://www.baeldung.com/java-executors-cached-fixed-threadpool
https://www.baeldung.com/java-executors-cached-fixed-threadpool
Baeldung on Kotlin
Executors newCachedThreadPool() vs newFixedThreadPool() | Baeldung
Compare the newCachedThreadPool() and newFixedThreadPool() implementations and their use-cases