abhishek kumaraksilearntocoder.hashnode.dev·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...Discussdelegate type
Omkar Terbhaiomkarterbhai.hashnode.dev·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 ...Discuss·295 readsjava 17
Hardik Sachanhardiksachan.hashnode.dev·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...Discuss·272 readsAndroid GuideAndroid
Nitish Bhattnitishbhatt.hashnode.dev·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...Discuss·65 readsKotlin
Krish Parekhkrishparekh.hashnode.dev·Oct 26, 2022Enum vs Sealed ClassesThe article aims to explain the below list of things: Enum Classes Why do we use enum classes in the first place ? How to use enum classes ? Usage of enum classes using when block Problems with the enum classes Sealed Classes...Neha Vishwakarma and 5 others are discussing this6 people are discussing thisDiscuss·20 likes·376 readssealed classGreat workkk❤️🙌🏻🙌🏻🙌🏻 4