Tr0n_

Untitled

Jul 2nd, 2017
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.22 KB | None | 0 0
  1.     public static void main(String[] args) {
  2.         method(null);
  3.     }
  4.     public static void method(Object o) {
  5.         System.out.println("Object impl");
  6.     }
  7.     public static void method(String s) {
  8.         System.out.println("String impl");
  9.     }
Advertisement
Add Comment
Please, Sign In to add comment