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

📄 osier.java

📁 some example source of java,for beginner.inside there are a lot of sample examples
💻 JAVA
字号:
package example6;

public class Osier
    extends Tree {
  public void leaf() {
    super.leaf();
    String sShape = "长形";
    super.print("形状:" + sShape);
  }

  public void flower() {
    super.print("哈哈,柳树没有花!!");
  }

  public static void main(String[] args) {
    Osier o = new Osier();
    o.print("柳树树根:");
    o.root();
    o.print("柳树树干:");
    o.bolo();
    o.print("柳树树枝:");
    o.branch();
    o.print("柳树树叶:");
    o.leaf();
    o.print("柳树花:");
    o.flower();
  }
}

⌨️ 快捷键说明

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