搜索资源列表
cloestPair
- 最近点对程序,java实现。可以计算平面内的最近点对-The nearest point on the program, java implementation. Can calculate the closest point on plane
JAVA面向对象编程-试卷B
- 定义一个交通工具类Traffic,该类包含属性:车轮的数量、行驶速度;同时还包含行驶的方法,并包含有参和无参的构造方法。请分别定义汽车类Car(包含油耗的属性,有参的构造方法)、火车类Train(无参的构造方法)、飞机类Plane(包含最大航程的属性,包含无参和有参的构造方法),让他们继承Traffic,并重写行驶的方法。在测试类中分别创建三个子类的对象,并调用行驶的方法。((A vehicle class Traffic is defined, which contains attribute
Plane Fight
- java语言编写的一个简单的飞机大战,主要实现了飞机发射子弹击毁飞行物可以获得积分,击毁特殊飞行物可以获得奖励。界面比较简单,主要是飞机大战的功能的实现方式,里面的代码每一行都有详细的介绍说明,可以帮助新手迅速上手学习开发。(A simple war on aircraft written by the Java language mainly realized that the aircraft launches the bullet to destroy the flying object