DONE throws后面究竟应该用什么?
package examWithinAWeek;
public class Test {
public static void main(String args[])throws InterruptedException{
// 有些也可以用throws IOException ,throws后面究竟应该用什么?谢谢~~
String s = "asdfdfwefwgggvbcvbcv";
for (int i = 0; i < s.length(); i++){
System.out.print(s.charAt(i));
}
}
}
[此贴子已经被作者于2007-11-18 9:47:35编辑过]