Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Last updated: Mar 13, 2022

OOPS in Kotlin

As we know Kotlin provides support to both Object-Oriented Programming and Functional programming as well. Here we will learn how object-oriented programming works in Kotlin, features of OOP in Kotlin, different types of classes in Kotlin, static methods, Inheritance, Abstraction, interfaces. All of these features are important in writing app logic in android App development.
Kotlin Classes and Objects
In this article, you will learn about classes and objects in Kotlin, the syntax for using classes and objects and see various applications of these concepts.
Kotlin Data Class EASY
This blog explains the details of data class in Kotlin.
Kotlin Constructor
In this article, you will learn about Kotlin Constructors, the different types of constructors and see the use case of these different types of constructors.
Kotlin Class Functions and Visibility Modifiers
In this article, you will learn about Kotlin class functions and the different types of visibility modifiers in Kotlin (i.e. public, private, protected, internal).
Kotlin Inheritance
In this article, you will learn more about Kotlin Inheritance, its syntax, use case, and some examples.
Kotlin Abstract Classes
In this blog, you will learn about abstract classes in Kotlin. We will see how to define and use an abstract class in a Kotlin program.
Kotlin Interfaces
In this blog, you will learn about interfaces in Kotlin. We will see how to define and use an interface in a Kotlin program.
Kotlin Extensions
In this blog, you will learn about extensions in Kotlin. We will see how to define and use extensions in a Kotlin program.
Companion Object in Kotlin EASY
A companion object in Kotlin is a special type of object associated with a class. It allows for the creation of static methods and properties specific to that class.
Kotlin Sealed Classes EASY
This article will discuss creating sealed classes in Kotlin. We will also learn how to implement sealed classes with “when” expressions.
Singleton Class in Kotlin EASY
This article discusses the Singleton Class in Kotlin with examples. It also covers different types of methods by which we can make the class singleton.
Author Alisha
upvote
2 Thumbs Up
What are Coroutines in Kotlin EASY
A coroutine is a feature of Kotlin. It is highly effective and can perform all tasks that a thread can.
Kotlin Delegation
In this article, you will learn more about Kotlin Delegation, types, overriding, and examples.
Kotlin - Destructuring Declarations
In this blog, we will discuss Destructuring Declarations in Kotlin. We also discuss how lambdas and underscores can be used with destructuring declarations.
Exception Handling in Kotlin
In this article, the reader will learn more about Kotlin Exception Handling, usage, and how to initialize and use them.