Application as a class

Report a typo

Given a class named Application with one string property name.

Add a member function named run that takes three strings and returns nothing. The function should output the name of the application and then all the arguments, each one in a new line.

Write a program in Kotlin
class Application(val name: String) {

// write the run method here
}
___

Create a free account to access the full topic