This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* You can edit, run, and share this code. | |
* play.kotlinlang.org | |
*/ | |
fun main() { | |
val siswa1 = Siswa(Modules.nama) | |
val siswa2 = Siswa(Modules.module.get("nama"), Modules.module.get("kelas")) | |
println("siswa 1 nama: " + siswa1.nama) |