欢迎来到我的博客

2013年12月13日
摘要: 编码需求:乐器(Instrument)分为钢琴()和小提琴各种乐器的弹奏 方法各不相同编写一个测试类InstrumentTest要求编写方法testplay,对各种乐器进行弹奏测试,要依据乐器的不同,进行相应的弹奏在main方法中进行测试package yee.instrument;public class InstrumentTest { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub Instrument instrument = new... 阅读全文
posted @ 2013-12-13 20:55 七彩天空 阅读(328) 评论(0) 推荐(0) 编辑