摘要:
//创建一个Cat类public class Cat{ public int age; public String name; } 1 public class Testcat { 2 public static void main(String[] args) { 3 Cat a=new Cat( 阅读全文
摘要:
StringIndexOutOfBoundsException(index) Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 3 public char 阅读全文