Kotlin

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….

Kotlin let, run, also, apply, with

In this tutorial, we’ll be implementing some of the important standard library functions available in Kotlin. The kotlin-stdlib provides us with useful higher order functions implementing idiomatic patterns. We’ll see how they make programming in….

Kotlin Lambda Expressions, Higher-Order Functions

In this tutorial, we’ll be looking into kotlin higher-order functions and lambda expressions in detail. At the same time, we’ll explore function references, anonymous functions, and closures too. Kotlin Higher-Order Functions Kotlin supports functional programming…..

Kotlin Functions

In this tutorial, we’ll be discussing at length, Functions in Kotlin. We’ll discuss everything you need to know about kotlin functions right from the syntax to the various implementations. Kotlin Functions In Kotlin, functions can….

Kotlin Sealed Class

In this tutorial, we’ll be looking into Kotlin Sealed Class. What are they? What’s their use? We’ll be addressing all of these things below. Kotlin Sealed Class In layman terms, as the name suggests, sealed….

Kotlin Enum Class

In this tutorial, we’ll be looking into Kotlin Enum classes. What’s in store for them? How are they different from enums in Java? We’ll be discussing everything you need to know about kotlin enum class….

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