<@U0EACPP46>: ``` public class Foo { static...
# announcements
c
@natpryce:
Copy code
public class Foo {

    static void foo(int x) {
        System.out.println("int");
    }

    static void foo(Integer x) {
        System.out.println("Integer");
    }
}
Copy code
fun main(args: Array<String>) {
    Foo.foo(1)
    Foo.foo(1 as Int?)
}
Output:
Copy code
int
Integer