+ 1
I need help here in Kotln
class MusicPlayer { private var songs: Array<String> = arrayOf() //your code goes here fun add(tracks: String, track: String){ } fun show(){ show() } fun play(){ play() } } fun main(args: Array<String>) { val m = MusicPlayer() while(true) { var input = readLine()!! if(input == "stop") { break } m.add(input) } m.show() m.play() }
1 Resposta
0
what is the error message or problem you are experiencing?