1、关于继承
java类是单继承的。classB Extends classA java接口可以多继承。Interface3 Extends Interface1, Interface2, interface3
2、关于Set转换List
Set<String> set = new HashSet<>(); List<String> list = new ArrayList<>(set);
1、关于继承
java类是单继承的。classB Extends classA java接口可以多继承。Interface3 Extends Interface1, Interface2, interface3
2、关于Set转换List
Set<String> set = new HashSet<>(); List<String> list = new ArrayList<>(set);
转载于:https://my.oschina.net/mdxlcj/blog/3084251