I am new to Kotlin development and I have created a separate Kotlin class in Android Studio as below :
class MainClass{
fun main(args: Array<String>) {
println("Hello World");
}
}
But, How can I run this kotlin class, and where the output will be generated.