摘要: //创建一个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( 阅读全文
posted @ 2019-12-27 10:35 Tripple_Redddddddd 阅读(129) 评论(0) 推荐(0)
摘要: StringIndexOutOfBoundsException(index) Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 3 public char 阅读全文
posted @ 2019-12-27 09:25 Tripple_Redddddddd 阅读(154) 评论(0) 推荐(0)