Basic & Necessary Syntax

In tutorial we will learn basic syntax of Kotlin.

How to specify package and import another package

package com.theitbulls.kotlinex

// like java we can import class 
import com.theitbulls.kotlinex.utils.Utils

...

Entry Point: An entry point of a Kotlin application is the main function.

fun main(args: Array<String>) {
	...
}