Note 8.4.5. Kotlin Note.
There are two methods named
put, but Kotlin does not have a problem with this because they have different method signatures: the method name, the number, and types of arguments. As long as these are different, there is no ambiguity when Kotlin needs to figure out whch method to call. The return type, the access (public or private), and whether or not override is present are not part of the method signature.










