Kotlin vs Java

Kotlin is a new programming language designed to reduce the amount of code that needs to be written. Less code should equal less mistakes! Let's take the following peice of Java code: public final class Person { private String name;…