in the Kotlin if you out of the class write this code
fun main(){
System.out.println("ali")
}
you can run this method without run emulator. android studio show play icon first the method if you write this code in Kotlin and you can run only this method. I want do it in Androidstudio Java. are you know how do it? thank you