Skip to content

Instantly share code, notes, and snippets.

@inders
inders / gist:278af4250ded215a6f12
Created October 12, 2015 09:05 — forked from dodyg/gist:5616605
Kotlin Programming Language Cheat Sheet Part 2

This is a quick guide to Kotlin programming language. The previous part of this guide is here

#Object Oriented

fun main(args : Array<String>) {
  class local (val x : Int)
  
  val y = local(10)
 println("${y.x}")