Default Arguments
Java programmers sometimes achieve the same effect by having one procedure simply invoke another of the same name:
class box { public box () { box(7); } // invoke myself public box (int v) { val = v; } public void test (int v, double d) { val = v + (int) d; } public void test (double d) { // use more general method test(3, d); } private int val;