JAVA基础-实例化,list-string转化,string转int
1。java对象实例化Dog myDog = new Dog("花花",3);2.java中逗号分隔的字符串和List相互转换String str = "a,b,c";List<String> result = Arrays.asList(str.split(","));把list转为字符串List<String> list = new ArrayLis- 阅读剩余部分 -