Solved Java Problems