class Developer(val name: String, val languages: List<String>, val favorite: String, val github: String)
fun main() {
val introduction = Developer(
name = "Elaina",
languages = listOf("Kotlin", "JavaScript", "Rust", "Java", "Vue.js", "C++"),
favorite = "Kotlin",
github = "@Shiiyuko"
)
println("Hello, my name is ${introduction.name}.")
println("I am skilled in the following languages: ${introduction.languages.joinToString(", ")}.")
println("My favorite language is ${introduction.favorite}.")
println("You can find me on GitHub: ${introduction.github}.")
}
shiiyuko / serverfucker Goto Github PK
View Code? Open in Web Editor NEWNukkit 爆破面板服
License: GNU General Public License v3.0