FileDocCategorySizeDatePackage
OverloadingOrder.javaAPI DocExample2803Mon Apr 06 18:10:26 BST 1998None

OverloadingOrder

public class OverloadingOrder extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

    print("String first", 11);
    print(99, "Int first");
  
static voidprint(java.lang.String s, int i)

    System.out.println(
      "String: " + s +
      ", int: " + i);
  
static voidprint(int i, java.lang.String s)

    System.out.println(
      "int: " + i +
      ", String: " + s);