Android Expert·Oct 11Let the Compiler Review Your UI: Choosing Between Enums, Sealed Classes, and Sealed InterfacesModel UI state and navigation events so a new case becomes a build error, not a production bug, with exhaustive when in Kotlin.
Akhila Jogdhar·May 4JDK 17 featuresJava 17 is a Long-Term Support (LTS) release that introduces features aimed at writing safer and more expressive code. In this article…
InJavarevisitedbyErwan LE TUTOUR·Jan 27One endpoint, multiple payloads: Handling polymorphic request bodies in Spring BootA clean and type-safe approach to managing dynamic JSON payloads using Jackson polymorphism and modern Java features.A response icon1A response icon1
Kaustubh Saha·Dec 28, 2025Sealed classes and interfaces in JavaThe sealed keyword (introduced in Java 15 as a preview and finalised in Java 17) is all about control. It allows you to restrict exactly…
InDev GeniusbyAleksei Jegorov·Aug 27, 2025Kotlin sealed class vs sealed interfaceDeclaring a class or interface in Kotlin language with the sealed modifier prevents the class from being inherited (or the interface…
Soumik Bhattacharjee·Aug 17, 2025Sealed Class vs Sealed Interface — Which One Should You Use?Kotlin has evolved — and now you can choose between sealed class and sealed interface. But how do you decide which one to use?
InProAndroidDevbyPrashant·Aug 2, 2025🔥 Kotlin object Madness: How My Sealed Interface List Quietly Dropped a Value🧠 TL;DR:A response icon3A response icon3
Anshuman Behera·Jul 31, 2025Mastering Sealed Classes in Java: Control Your Class Hierarchies Like a ProHave you ever wished you could control which classes are allowed to extend your base class in Java? If so, say hello to sealed classes — a…