My Complete java practice code