請問 java中 String str=buf.readLine( ); int temp =Integer.parseInt(str);

將剛才讀取到的資料轉換成integer型別並賦值給temp括號中的str不就是上一行定義的變數麼你好...

Top