Skip to content

Instantly share code, notes, and snippets.

@VintageAppMaker
Last active March 18, 2018 04:42
Show Gist options
  • Save VintageAppMaker/328ae7e55342edecfc46f907268a045a to your computer and use it in GitHub Desktop.
Save VintageAppMaker/328ae7e55342edecfc46f907268a045a to your computer and use it in GitHub Desktop.
var 나의가치 :String = "기술지향적 개발자"
get (){
return field
}
set(value) {
field = "니가 뭐라해도! 난 순수한 개발자다"
}
fun main(args: Array<String>) {
// 남이 말하는 나의 가치
나의가치 = "까칠하다. 괴랄하다. 그래도 뭔가 만들긴하더라"
// 내가 말하는 나의 가치
println (나의가치)
}
@VintageAppMaker
Copy link
Author

결과화면
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment