package com.CollectionTest;
import java.util.Collection;
/**
* @author
* @date2021/10/18 21:01
* @Description TODO
* apiNote
*/
public class code01 extends co {
public static void main(String[] args) {
TreeSet tes=new TreeSet();
}
}
//接口与接口之间可以继承,且可以多继承
interface ac extends co,ab{
}
//错误接口之间不能实现
//interface ab implements co{
//}
interface co{
default void as(){
System.out.println("我是虚拟类");
}
}