myanmarlinks
6/13/2019 - 4:23 AM

Kotlin Classes and Objects

Kotlin Classes and Objects

val API_END = "http://something.com/api/v1/testcall"

fun callApi() {
    println("API EndPoint : $API_END")
}

fun main(args: Array<String>) {
    callApi()
    println(API_END)
}