Java Two Class