I came across some Java code that had the following structure:
public MyParameterizedFunction(String param1, int param2) { this(param1, param2, false); }
You can do this is in Scala, which runs on the JVM and is compatible with Java programs. http://www.scala-lang.org/
i.e.
class Foo(var prime: Boolean = false, val rib: String) {}