Anonymous user
Break OO privacy: Difference between revisions
→{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details
(→{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details) |
(→{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details) |
||
Line 643:
=={{header|Kotlin}}==
For tasks such as this, reflection is your friend:
<lang scala>
import kotlin.reflect.jvm.isAccessible
|