is kotlin syntax like java code example
Example 1: Kotlin is like java
println("Hello, world!")
Example 2: Kotlin is like java
var myVariable = 42
myVariable = 50
val myConstant = 42
println("Hello, world!")
var myVariable = 42
myVariable = 50
val myConstant = 42