GGanesh Rama Hegde·Nov 2, 2025Chapter 15 - Coding the SearchImageUseCase (Domain layer)Before we start working on the same blueprint we used earlier for the GetArtUseCase, let us pause for a moment and depict the data flow in the form of a flowchart. This will help gauge the progress of the second use case - SearchImageUseCase. This us...4 min read·androidavatar.hashnode.dev
MMohit jain·Aug 23, 2025Sealed Classes in JavaSealed classes are one of the biggest “modern Java” features that came after Java 8, finalized in Java 17 (LTS). They give you more control over inheritance and make class hierarchies safer and easier to reason about. 1. The problem they solve In Ja...6 min read·jainmohit0807.hashnode.dev
AAbhinav K·Apr 24, 2025Mastering Sealed Classes in Java: Model Hierarchies with ConfidenceJava sealed classes control hierarchies, improve maintainability, and model domain logic with pattern matching4 min read·masterjava.hashnode.dev
MMirna De Jesus Cambero·Apr 7, 2025Modern Java Features: Sealed ClassesSealing a class or interface restricts the list of subclasses or implementations to a predefined set. For example, consider defining a Shape and restricting subclasses to be only triangles and squares. public class SealedClasses { sealed class Sh...4 min read·codelikeawoman.com
AAditya Das·Feb 24, 2025Understanding Different Types of Classes in Kotlin with Real-World ExamplesLearn everything about Kotlin classes—normal, data, singleton, enum, sealed, and more! Explore real-world analogies, code examples, and key differences.5 min read·codingandlearning.hashnode.dev
Aabhishek kumar·Sep 23, 2024Concept of DelegatesWhat is Delegates? First of all in our mind we have a question that there is small "delegate" and there is Capital "Delegate". What it is mean and why there is small and capital in terms of "delegate" and "Delegate". Before resolving above question L...5 min read·aksilearntocoder.hashnode.dev
OOmkar Terbhai·Jun 4, 2024Sealed Classes - JDK 17JDK 17 has introduced a lot of new features, one of them is Sealed Classes. Let's understand what are sealed classes and why were they introduced. We will not use the Animal -> Dog -> Red Dog -> Multicolor Dog or House -> Door -> Mouse type examples ...4 min read·omkarterbhai.com
HHardik Sachan·Feb 7, 2023Guide to Sealed Classes in Kotlin for Improved Code OrganizationIn the last article, we covered data classes in Kotlin. We saw how they simplify class creation and make it faster with less coding. Now, let's explore Sealed Classes. Sealed Classes in Kotlin are a specialized form of abstract classes. They limit su...4 min read·hardiksachan.com
NNitish Bhatt·Jan 14, 2023Sealed Classes in KotlinKotlin sealed classes are a powerful tool for creating restricted class hierarchies in which an object can only have one of the specified types. They are similar to Enums, but with additional features Implementing Kotlin Sealed Classes A sealed class...2 min read·nitishbhatt.hashnode.dev
KKrish Parekh·Oct 26, 2022Enum vs Sealed ClassesThis article explain the difference between enum and sealed classes and explain how enum can be differentiated and why we use enum and sealed classes.6 min read·krishparekh.hashnode.dev7AS