Kotlin – Generics
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 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…
In this chapter, we will discuss Constructors in Kotlin. learn about constructors in Kotlin. Kotlin has two types of constructor - one is the primary constructor and the other is the secondary constructor.…
In this chapter, we will discuss Class & Object in Kotlin and learn the basics of Object-Oriented Programming (OOP) using Kotlin. We will learn about class and its object and…
In this guide, we will discuss Lists in Kotlin. Kotlin list is an ordered collection of items. A Kotlin list can be either mutable (MutableList) or read-only (List). The elements…