InTowards DevbySarangan JanakanSpring Boot REST API Best Practices for Controller DevelopmentMastering REST API Development with Spring Boot: A Comprehensive Guide to Building Robust, Scalable, and Maintainable ControllersFeb 13Feb 13
InLevel Up CodingbySarangan JanakanHow to Use Optionals Correctly in Java — Must know do’s and don’ts.Avoid common pitfalls and harness the true power of Optional with these key do’s and don’ts.Feb 111Feb 111
InLevel Up CodingbySarangan Janakan10 ‘Dumb’ Java Inheritance Questions You’re Probably Asking (But Shouldn’t Ignore!)Don’t let hesitation hold you back — Hold these essential concepts in Inheritance to strengthen your OOP concepts.Feb 91Feb 91
InLevel Up CodingbySarangan JanakanEverything to know about Transactional Annotation in Java Spring BootLearn how the @Transactional annotation transforms a chaotic banking system into a reliable and consistent operation.Jan 27Jan 27
InLevel Up CodingbySarangan JanakanMastering Java Records: Handling Nulls in Nested Record Patterns in Java (Part-10)Avoid NullPointerExceptions: Mastering Null Handling in Java’s Nested Record PatternsJan 8Jan 8
InLevel Up CodingbySarangan JanakanJava interview questions that I struggled to answer : Part -2 — Callable and RunnableShould I use callable or runnable ? mmehhhDec 10, 2024Dec 10, 2024
InCodeXbySarangan JanakanUnderstanding Type Patterns and the Limitations of Raw Types in JavaLearn why Java’s type patterns can’t infer type arguments from raw types and how to work around this limitation effectively.Dec 17, 2024Dec 17, 2024
InLevel Up CodingbySarangan JanakanSOLID Principles: The Single Responsibility Principle (Part-1)The Hidden Cost of Mixing Responsibilities: Why ‘Buy 1, Get 1 Free’ Doesn’t Work in CodeDec 15, 20241Dec 15, 20241
InLevel Up CodingbySarangan JanakanUnderstanding Dependency Injection in Spring BootModern version of DI with @RequiredArgsConstructor and @AutowiredDec 4, 2024Dec 4, 2024
InLevel Up CodingbySarangan JanakanUnderstanding Shallow Cloning and Deep Cloning in JavaThe object is duplicated, but its nested objects are only referenced, not fully copied. Is this Shallow or DeepNov 26, 2024Nov 26, 2024
InTowards DevbySarangan JanakanTop 10 Java Interview Questions About the main Method in JavaChallenging Questions about main method That Can Trip You Up During InterviewsNov 15, 20241Nov 15, 20241
InLevel Up CodingbySarangan JanakanJava interview questions that I struggled to answer : Part -1 — Atomic Integer vs SynchronizedWhy isn’t my program behaving as expected, even when I use synchronized blocks?Nov 7, 20245Nov 7, 20245
InTowards DevbySarangan JanakanMastering Reactive Programming in Java Spring BootIn-Depth Guide to Mono and Flux with Real-World ExamplesNov 6, 20241Nov 6, 20241
InTowards DevbySarangan JanakanA Guide to Tackling Confusions Between Static and Non-Static Methods in JavaUnderstand the internals behinds “variable cannot be referenced from a static context” error messageNov 5, 20241Nov 5, 20241
InTechnology HitsbySarangan JanakanMinimizing Object Creation for High-Performance Java Applications5 Techniques for Minimizing Object Creation and Ease Garbage CollectorNov 3, 20247Nov 3, 20247
InLevel Up CodingbySarangan JanakanEverything You Need to Know About Superclass Constructors in JavaSaying new is a Big Deal in object creation. It starts the whole constructor chain reaction.Nov 2, 20241Nov 2, 20241
InLevel Up CodingbySarangan JanakanIntroducing Record Patterns for switch in Java (Part-7)Why write countless lines of code and do unnecessary comparisons? Simplify your logic — use `switch` with Java’s record patterns for…Oct 30, 20241Oct 30, 20241
InNerd For TechbySarangan JanakanHow could a private constructor ever be useful?If no one can call it, then how could anyone ever create an object from it?Oct 29, 20241Oct 29, 20241
InTowards DevbySarangan JanakanUnderstanding Stack and Heap in Java: A Beginner’s Guide.He looked at me and said, ‘I… I can’t feel my methods!’ And I shouted, ‘Hang on, buddy! Stay with me!’ But… it was too late. The garbage…Oct 26, 2024Oct 26, 2024