Skip to content

Tag Archives: Kotlin OOPs

The word polymorphism means having many forms. In simple words, we can define polymorphism as the ability of a message to be displayed in more… Read More
According to Kotlin’s official documentation “A closure is a special kind of object that combines two things: a function, and the environment in which that… Read More
Kotlin is a statically typed, general-purpose programming language developed by JetBrains, that has built world-class IDEs like IntelliJ IDEA, PhpStorm, Appcode, etc. It was first… Read More
Kotlin is a statically typed, general-purpose programming language developed by JetBrains, that has built world-class IDEs like IntelliJ IDEA, PhpStorm, Appcode, etc. It was first… Read More
Kotlin is a statically typed, general-purpose programming language developed by JetBrains, that has built world-class IDEs like IntelliJ IDEA, PhpStorm, Appcode, etc. It was first… Read More
Kotlin is a statically typed, general-purpose programming language developed by JetBrains, that has built world-class IDEs like IntelliJ IDEA, PhpStorm, Appcode, etc. It was first… Read More
Unlike Java, Kotlin doesn’t support static methods for a class. Most readers will know that static methods do not belong to the object instance but… Read More
In any object-oriented programming language, Overriding is a feature that allows a subclass or child class to provide a specific implementation of a method that… Read More
Constructor is a concise way to initialize class properties. or we can say it’s a special member function that is invoked when an object of… Read More
A class is declared within another class then it is called a nested class. By default nested class is static so we can access the… Read More
Interfaces in Kotlin can contain declarations of abstract methods, as well as method implementations. What makes them different from abstract classes is that interfaces cannot… Read More
Kotlin is a programming language which brings all the powers of modern programming languages to android development. In this article, we will discuss about it’s… Read More
Imagine you are creating a project where you defined two classes with same name but different packages and you have to use them at once.… Read More
We often create classes to hold some data in it. In such classes, some standard functions are often derivable from the data. In Kotlin, this… Read More
Kotlin provides an important new type of class that is not present in Java. These are known as sealed classes. As the word sealed suggests,… Read More

Start Your Coding Journey Now!