Public Java Code