String, val age: Int ) fun main() { val person = Person("Name", 10) val (name, age) = person } public fi nal class Person { @NotNull private fi nal String name; private fi nal int age; public fi nal String getName() { ... } public fi nal int getAge() { ... } public Person(@NotNull String name, int age) { ... } public fi nal String component1() { ... } public fi nal int component2() { ... } public fi nal Person copy(@NotNull String name, int age) { ... } public static Person copy$default(Person var0, String var1, int var2, int var3, Object var4) { ... } public String toString() { ... } public int hashCode() { .... } public boolean equals(@Nullable Object var1) { ... } } ,PUMJO +BWB
String, val age: Int ) class Person( val name: String, val age: Int ) fun main() { val person = Person("Name", 10) val (name, age) = person } ? class Person( val name: String, val age: Int ) { operator fun component1(): String = name operator fun component2(): Int = age } '*9&% ੌ߈$MBTT #VJME
Int) fun main() { val human = Human(10) val result = upscaleWeight(human) println(result) } /** * ރޖѱ 100ߓ ҅ * * @param human ࢎۈ * @return ҅ Ѿҗ */ fun upscaleWeight(human: Human): Int = // TODO ˅ NAVER Connect Foundation 👩💻🧑💻👨💻 26&45*0/