⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 interface3.java

📁 数据结构(java描述)课件(第三讲:树结构)
💻 JAVA
字号:
interface Interface3MyInter1{
  public void method1();
}
interface Interface3MyInter2{
  public void method2();
}
class Interface3MyClass{
  public void hi(){
  	System.out.println("你好");
  }
}
public class Interface3 extends Interface3MyClass implements Interface3MyInter1, Interface3MyInter2{
  public void method1(){
  	System.out.println("method1 override");
  }
  public void method2(){
  	System.out.println("method2 override");
  }
  public static void main(String[] args){
    Interface3 ob=new Interface3(); 
    ob.method1();
    ob.method2();
    ob.hi();
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -