+ 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() }

25th Feb 2021, 1:12 PM
Dave Enyi
Dave Enyi - avatar
1 Resposta
0
what is the error message or problem you are experiencing?
26th Feb 2021, 4:11 AM
Wilbur Jaywright
Wilbur Jaywright - avatar