The worst possible Java solutions.