You pass an integer to a function expecting type Any. It works without issue. Why is a primitive integer able to work with a function that expects an object?
fun showHashCode(obj: Any){
println("${obj.hashCode()}")
}
fun main() {
showHashCode(1)
}