![]() Run the playground again and you’ll see the following output: Choose or type joinToString() to get the desired output: It’s better to show the names separated by commas, right? Do so by adding a dot to the right of the args parameter, and you’ll see the following: Run the program, and you’ll see the following output: Now, change main to receive those arguments: One way to test your Kotlin code is by passing in arguments into your playground. You’ll start by passing arguments into your app.
0 Comments
Leave a Reply. |