2 Star 0 Fork 0

CS-IMIS-23/why20172321

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Words.java 644 Bytes
一键复制 编辑 原始数据 按行查看 历史
N-idhogg 提交于 7年前 . 例题9.1 实例化
package chap9;
public class Words {
//-------------------------------------------------------------------
// Instantiates a derived class and invokes its inherited and
// local methods.
//-------------------------------------------------------------------
public static void main(String[] args) {
Dictionary webster = new Dictionary();
System.out.println("Number of pages: " + webster.getPages());
System.out.println("Number of definitions: " +
webster.getDefinitions());
System.out.println("Definitions per page: " +
webster.computeRatio());
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/CS-IMIS-23/why20172321.git
git@gitee.com:CS-IMIS-23/why20172321.git
CS-IMIS-23
why20172321
why20172321
master

搜索帮助