Although Kotlin builds upon Java's type system, not all the types are the same in Kotlin. One of these differences is the base type. Java has the Object class from which all reference types implicitly inherit. Kotlin's base type is called Any and it is similar to Object. Any has only three methods from theObject: hashcode, equals and toString.