1 Star 1 Fork 0

CS-IMIS-23/20172313yukunpeng

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Words2.java 912 Bytes
一键复制 编辑 原始数据 按行查看 历史
package srcNo7;
//*****************************************************************************
// Words2.java Author:Yu Kunpeng
//
// Demonstrates the use of the super reference.
//*****************************************************************************
public class Words2 {
//--------------------------------------------------------------------------
// Instantiates a derived class and invokes its inherited and
// local methods
//--------------------------------------------------------------------------
public static void main(String[] args) {
Dictionary2 webster = new Dictionary2(1500, 52500);
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/20172313yukunpeng.git
git@gitee.com:CS-IMIS-23/20172313yukunpeng.git
CS-IMIS-23
20172313yukunpeng
20172313yukunpeng
master

搜索帮助