Java Network assignments