Home > Mobile >  Consult with useless kotlin format to write Java API documentation?
Consult with useless kotlin format to write Java API documentation?

Time:11-14

For example Java. The awt. Frame of this source code is a Java format, the kotlin format of the source code?
There are many, many Java class library, they find kotlin format of the source code?

CodePudding user response:

Kotlin with Java is universal, kotlin can call Java classes, so the class library of existing without kotlin version, is likely to have new

CodePudding user response:

Kotlin with Java is universal

CodePudding user response:

Now you can think of is that the class is copied To the project, right click the Convert Java File To Kotlin File

CodePudding user response:

This is generally not kt format, you can write code in kt directly in the Java package and the API, do not affect again,

CodePudding user response:

reference 4 floor Vegeta818 response:
this is generally not kt format, you can write code in kt directly in the Java package and the API, do not affect again,


In other words, when you use the kotlin cannot forget about Java, people have not learned Java could not learn kotlin?
  • Related