Kotlin – Exception Handling
In this guide, we will discuss Exception Handling in Kotlin. Exception handling is a very important part of a programming language. This technique restricts our application from generating the wrong…
In this guide, we will discuss Exception Handling in Kotlin. Exception handling is a very important part of a programming language. This technique restricts our application from generating the wrong…
In this guide, we will discuss Destructuring declarations in Kotlin. Kotlin contains many features of other programming languages. It allows you to declare multiple variables at once. This technique is…
In this guide, we will discuss Delegation in Kotlin. Kotlin supports “delegation” design pattern by introducing a new keyword “by”. Using this keyword or delegation methodology, Kotlin allows the derived class to access…
In this guide, we will discuss Generics in Kotlin. Like Java, Kotlin provides higher order of variable typing called as Generics. In this chapter, we will learn how Kotlin implements…
In this chapter, we will discuss Sealed Class in Kotlin and learn about another class type called “Sealed” class. This type of class is used to represent a restricted class…
In this chapter, we will discuss Data Classes in Kotlin and learn more about Data classes of Kotlin programming language. A class can be marked as a Data class whenever…
In this chapter, we will discuss Extension in Kotlin and learn about another new feature of Kotlin named “Extension”. Using extension, we will be able to add or remove some…
In this chapter, we will discuss Visibility Control in Kotlin. learn about different modifiers available in Kotlin language. Access modifier is used to restrict the usage of the variables, methods and class…
In this chapter, we will discuss Interface in Kotlin and learn about the interface in Kotlin. In Kotlin, the interface works exactly similar to Java 8, which means they can…
In this chapter, we will discuss Inheritance in Kotlin. learn about inheritance. By definition, we all know that inheritance means accruing some properties of the mother class into the child…