Kotlin uses classes from the Java libraries?

Kotlin uses classes from the Java libraries? For example, networking, multithreading all this vskie Java classes. Ie, in fact one has to know the Java classes to write in Kotlin ?
April 3rd 20 at 18:39
2 answers
April 3rd 20 at 18:41
Solution
No
But in General it depends what you want to do
For example, in Android to get the date and time is used Janowskie classes: Calendar, Date, SimpleDateFormat, etc. In Kotlin has its own implementation or should I use Java classes? - Halie commented on April 3rd 20 at 18:44
Usually javoue. Kotlinowski are typically wrappers over juvavum with some features. Type why not make a Bicycle.
You probably had in mind good to know apiski, methods, classes, what they do, their signatures. Need to know it. Doesn't have to know how it works inside. - Micah_Abshi commented on April 3rd 20 at 18:47
@Halie, for a time in the Kotlin also has his own:) https://kotlinlang.org/api/latest/jvm/stdlib/kotli... - Savanna70 commented on April 3rd 20 at 18:50
@Savanna70, cool current it is Experimental API and no one bothers gasovoi to use. - Micah_Abshi commented on April 3rd 20 at 18:53
@Micah_Abshianyone, maybe he makes a multi-platform project(I doubt). In addition, Experimental does not mean that you cannot use. You can use about with the expectation that the interfaces can change. And here is tradoff. - Savanna70 commented on April 3rd 20 at 18:56
@Savanna70, of course depends on what he's doing. At some point it will be very important to understand how exactly the jvm works, building, collection, etc., if javoy project. And it will be necessary to watch what was generica Kotlin.
But first what's the difference? - Micah_Abshi commented on April 3rd 20 at 18:59
April 3rd 20 at 18:43
Solution
In General, Yes, when I write music, and under most JVMs, you diawoye generally used.
But it is purely kotlinowski libs. For example, the network - Ktor, for async is coroutine(though there under coral and in General Nativ is not going smoothly), to carotino is Flow - cold jet stream. And so on.
When Kotlin compiles to the JVM, it is there is no options use any standard containers(ArrayList, HashMap, etc).

Find more questions by tags JavaKotlin