Java Test Set-2