Kotlin

Kotlin Interview Questions

Kotlin is the latest JVM programming language from the JetBrains. Google has made it the official language for Android Development along with Java. Developers say it addresses the issues faced in Java programming. I have….

Kotlin Coroutines

In this tutorial, we’ll be looking into Kotlin Coroutines. Coroutines is a vital concept since asynchronous programming is the way to go over the traditional blocking a thread and polling stuff. Kotlin Coroutines Concurrency is….

Kotlin Generics

In this tutorial, we’ll be looking in Kotlin Generics and Variances. Generics Generics are a powerful feature that allows us to define a common class/method/property that can be operated using different types while keeping a….

Kotlin Exception Handling

In this tutorial, we’ll be discussing Exception Handling in Kotlin. What are Exceptions? Exceptions are something that can break your program. That makes Exception Handling an essential part of any Programming Language. Using Exception handling….

Kotlin Visibility Modifiers – public, protected, internal, private

In this tutorial, we’ll be discussing the various Visibility Modifiers available in Kotlin programming. Kotlin Visibility Modifiers Visibility Modifiers are modifiers that when appended to a class/interface/property/function in Kotlin, would define where all it is….

kotlin-inlined-function-output-1

Kotlin Inline Function, Reified Parameters

In this tutorial, we’ll be looking into Kotlin inline function. We’ll follow that with Reified Type Parameters. Kotlin inline functions We’ve discussed Kotlin Higher Order Functions and Lambda Expressions before. They’re super useful in passing….

kotlin print statments escaping

Kotlin print(), println(), readLine(), Scanner, REPL

Today we will learn how to use Kotlin print functions and how to get and parse user input from console. Furthermore, we’ll look into Kotlin REPL. Kotlin Print Functions To output something on the screen….

kotlin-inheritance

Kotlin Inheritance

Continuing with our series of Kotlin tutorials, today we’ll look into inheritance in Kotlin Classes. Let’s get started by creating a new IntelliJ IDEA Kotlin project. Kotlin Inheritance Inheritance is the concept of creating class….

kotlin smart casts

Kotlin Type Checking, Kotlin Type Casting

Today we will look into Kotlin type checking and smart type casting. We will use Kotlin Online playground for code snippets. Kotlin Type Checking Type Checking is the way to check the type of a….

Kotlin Interface

In this tutorial, we’ll be looking into interfaces in Kotlin. Kotlin interface is like contracts that can be used by classes for specific behaviors. Kotlin Interface Interfaces in Kotlin contain the definitions of functions and….

close
Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages