I am starting Android Development. When I try to run a Java code it doesn’t run, but when I convert the same code to Kotlin the run button appears, and the output is visible.
Why doesn’t the Java code run, and also what is the @JvmStatic that appears after converting the code?
New contributor
Sujal Sachan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
you have probably made your project in Kotlin make a new one in java
pick it here
2