本帖最后由 杨兴庭 于 2013-7-29 17:47 编辑
public class Test
{
public static void main(String args[])
{
String str ="1\2\3";
try
{
System.out.println((str.split("\\").length));
}catch(Exception e){
System.out.println("error");
System.err.println(e.getMessage());
}
}
}
抛出错误:Unexpected internal error near index 1
|