Left Sidebar
Starting a Kotlin Project in Android Studio, creating the apk?
With this post, we shall begin the process of developing Android Apps using Kotlin. To begin with we will start Android Studio and select a Simple Fragment Project, then select Kotlin as the languag…
How to do Exception Handling in Kotlin?
An Exception in Kotlin is a runtime Exception. The process by which Exceptions are handled is called Exception Handling. The following keywords need to be understood and used in Programming. Here is…
Implementing Threads in Kotlin?
Threads represent concurrent activity in Kotlin. The simplest way of implementing threads is by extending the Thread class. The code for the thread is defined in the run method. Here is a thread that…
How to make classes in Kotlin?
A Kotlin class is defined in its simplest form by declaring its members in the class declaration itself. class Book(var bookname:String,var subject:String,var price:Int) { override fun toStri…
How to make functions in Kotlin -1 ?
This post explains the basics of implementing functions in the Kotlin programming language. Functions in Kotlin are declared by using the fun keyword. Here is a simple Hello Kotlin function. fun say…
How to draw Pyramid Shapes using Kotlin
Consider the following figure O OO OOO OOOO This will be drawn using nested loops so let us make a chart i No of Os 1 1 2 2 3 3 4 4 T…