Java Test Set-1