I\'m a bit confused: I have a function, that takes an Object as argument. But the compiler does not complain if I just pass a primitive and even recognizes a boolean primiti
Because primitive 'true' will be Autoboxed to Boolean and which is a Object.
true
Boolean
Object