Invoke
Consider the code below. What's the output.
public class Invoke {
public static void main(String[] args) {
Object o = new Integer(47);
out(o);
}
static void out(Object o) {
System.out.println("Object out");
}
static void out(Integer i) {
System.out.println("Integer out");
}
}