You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SizeIssues.java 439B

123456789101112131415161718192021
  1. public class SizeIssues {
  2. public static void main(String[] argv) {
  3. int foo1 = 1;
  4. String foo2 = "2";
  5. Integer foo3 = new Integer(3);
  6. String foo4 = "4";
  7. callfoo(foo1,foo2,foo3,foo4);
  8. }
  9. public static void callfoo(int input1,String input2, Integer input3,String input4) {
  10. bar_1(input1);
  11. bar_2(input2);
  12. bar_1(input3.intValue());
  13. bar_2(input4);
  14. }
  15. public static void bar_1(int i) {}
  16. public static void bar_2(String s) {}
  17. }