https://kotlinlang.org logo
Title
k

karelpeeters

11/25/2019, 1:20 PM
#feed
s

Stephan Schroeder

11/25/2019, 2:04 PM
1: What is Kotlin?

A: Kotlin is a statically-typed language that runs on the Java Virtual Machine. It can seamlessly interoperate with Java and is considered an alternative to the standard Java compiler.
what about Multi-platform?
2. Is Kotlin better than Java?
The answer should simply be Yes
6. What's the difference between val and var in Kotlin?
The answer leaves out
getter
completely.
7. What are the basic data types in Kotlin? 

A: Numbers, characters, Booleans, arrays, and strings.
why is Numbers and Boolean written big? Everything is presented as a class in Kotlin. Is a String more basic than a List?
2. Is it possible to migrate code from Java to Kotlin? 

A: Yes, it is. IntelliJ IDEA is a tool that can help you do that.
It’s possible to migrate from any language to any language.
3. What are data classes in Kotlin?

... In Kotlin, all it takes is adding keyword data to the class, and the compiler will automatically generate a default getter and setter. ...
getters and setters are created for all (non-private) properties of all classes, as well, so this isn’t data class specific at all. Data classes also get
toString
,
equals
,
hashCode
and
copy
implementations. (+
component1-n
) PS: I love the job interview memes on the page 😂
👍 1
💯 3
2