Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

[세미나] 직장인 2. 나의업무

fun 나의업무인가(업무요청 : String) : Boolean {
    val 나의업무 = arrayListOf<String>("개발", "기술검토", "솔루션설계")
    if( 업무요청 in 나의업무 ){
        return true
    }
    return false
}

fun main(args: Array<String>) {
    나의업무인가("기획회의").let{
        답변 -> println ("기획회의는 ${답변}")
    }

    나의업무인가("기술지원(응대)").let{
        답변 -> println ("기술지원(응대) ${답변}")
    }

    나의업무인가("제품 시장성").let{
        답변 -> println ("제품 시장성 ${답변}")
    }
}

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.