资源简介
一本讲述java 的
代码片段和文件信息
// interfaces/Adventure12.java
// TIJ4 Chapter Interfaces Exercise 12 page 328
/* In Adventure.java add an interface called CanClimb following
* the form of the other interfaces.
*/
interface CanFight {
void fight();
}
interface CanSwim {
void swim();
}
interface CanFly {
void fly();
}
interface CanClimb {
void climb();
}
class ActionCharacter {
public void fight() {}
}
class Hero extends ActionCharacter
implements CanFight CanSwim CanFly {
public void swim() {}
public void fly() {}
}
public class Adventure12 {
public static void t(CanFight x) { x.fight(); }
public static void u(CanSwim x) { x.swim(); }
public static void v(CanFly x) { x.fly(); }
public static void c(CanClimb x) { x.climb(); }
public static void w(ActionCha
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2008-12-20 23:19 Thinking In Java 4 Exercise\
目录 0 2008-12-20 23:17 Thinking In Java 4 Exercise\10Innerclasses\
文件 1078 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Adventure12.java
文件 1575 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Cycles(1).java
文件 576 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Ex10(1).java
文件 800 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Ex11.java
文件 689 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Ex15(1).java
文件 555 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Ex18.java
文件 1223 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Ex19.java
文件 486 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Ex20.java
文件 691 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Ex21.java
文件 1733 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Ex23.java
文件 1076 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Ex6.java
文件 585 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Ex9.java
文件 1391 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Games17.java
文件 2304 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\GreenhouseController24.java
文件 1146 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\GreenhouseController25.java
文件 3719 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\GreenhouseControls24.java
文件 1179 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\GreenhouseControls25.java
文件 1701 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\HorrorShow14.java
文件 511 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\OtherOuter.java
文件 641 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Outer1.java
文件 959 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Outer12.java
文件 652 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Outer13.java
文件 729 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Outer3.java
文件 829 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Outer7.java
文件 734 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Outer8.java
文件 810 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\SecondOuter.java
文件 1645 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Sequence2.java
文件 1415 2008-12-19 17:15 Thinking In Java 4 Exercise\10Innerclasses\Sequence4.java
目录 0 2008-12-20 23:17 Thinking In Java 4 Exercise\11.Holding\
............此处省略342个文件信息
- 上一篇:JAVA基础.PDF
- 下一篇:精典JAVA编程题全集(50题及答案)
相关资源
- 用于记录女生生理期,以便女生自我
- 安卓图表引擎AChartEngine
- 下拉列表Spinner入门级
- java 文件上传
- java_NIO_入门.pdf (入门级讲解)
- Java JNI简单实现
- Android PopupWindow实现弹出菜单(tab切换
- Spring2.5-中文参考手册
- java入门基础使用总结(数组、函数、
- android切图( drawable-hdpi drawable-xhdpi
- 自定义spinnner
- java 抓取网页缩略图 源码
- SlidingMenu-master(侧滑菜单)
- Android自定义PopupWindow
- Java编程思维.pdf
- rabbitMQ的demo(入门级)
- Tiny4412 Android硬件开发指南.pdf以及相关
- Kotlin in Action.pdf
- java贪吃蛇 小游戏源码
- android 带图标的spinner控件
- 微信小程序获取用户openid源码含后端
- javaweb项目_1
- sharding-jdbc之——分库分表完整源码
- C#WinForm窗体内Panel容器中嵌入子窗体、
- java spring面试宝典.pdf(共29页)
- effective java中文版 pdf
- springboot data jpa
- java实现的语音对话机器人
- tess4j中文字库chi_sim.traineddata
- Java自定义注解入门Demo
评论
共有 条评论