In a case given input is not a valid integer then it will throw an exception, ... Boolean flag=true; for(int a=0;a<input.length();a++) { if(a==0 && input.
確定! 回上一頁