国产三级在线看完整版-内射白嫩大屁股在线播放91-欧美精品国产精品综合-国产精品视频网站一区-一二三四在线观看视频韩国-国产不卡国产不卡国产精品不卡-日本岛国一区二区三区四区-成年人免费在线看片网站-熟女少妇一区二区三区四区

儀器網(wǎng)(yiqi.com)歡迎您!

| 注冊2 登錄
網(wǎng)站首頁-資訊-話題-產(chǎn)品-評測-品牌庫-供應(yīng)商-展會-招標(biāo)-采購-知識-技術(shù)-社區(qū)-資料-方案-產(chǎn)品庫-視頻

會員主頁

yidawei2008

粉絲:0

關(guān)注:0

關(guān)注查看聯(lián)系方式

查看全部
  • 按時間搜索
  • 按內(nèi)容搜索

全部

  • 2018-05-27 18:07發(fā)布了問答

    心理測試:你喜歡的人是什么類型
     
    389人看過
  • 2017-01-09 08:15發(fā)布了問答

    食品安全(檢測)概念股有哪些
     
    379人看過
  • 2016-03-28 08:24發(fā)布了問答

    成纖維物理ZL是治什么病的
    成纖維物理ZL是治什么病的... 成纖維物理ZL是治什么病的 展開
    405人看過
  • 2016-01-26 20:39發(fā)布了問答

    助理醫(yī)師證有什么用
    助理醫(yī)師證有什么用... 助理醫(yī)師證有什么用 展開
    352人看過
  • 2014-09-25 12:46發(fā)布了問答

    重度智障有哪些物理ZL方法
     
    302人看過
  • 2013-10-31 00:25發(fā)布了問答

    關(guān)于java面向?qū)ο蟮膯卧獪y試。測試類應(yīng)該怎么寫?具體代碼如下
    測試類應(yīng)該怎么寫。 public class Earth { public static void main(String args[]) { Monkey mary=new Monkey("Mary","red",100,120); Food banana=new Food("banana","veg",6); mary.showInfo(); mary.eat(banana); ... 測試類應(yīng)該怎么寫。 public class Earth { public static void main(String args[]) { Monkey mary=new Monkey("Mary","red",100,120); Food banana=new Food("banana","veg",6); mary.showInfo(); mary.eat(banana); mary.piss(); mary.showInfo(); Human helen=new Human("Helen","white",100,170,"Obama"); Food hamberger=new Food("hamberger","meet",3); helen.showInfo(); helen.eat(hamberger); helen.piss(); helen.work(); helen.showInfo(); } } class Monkey { String name; String color; int weight; int height; int tempr; Monkey(String n,String c,int w,int h) { name=n;color=c;weight=w;height=h;tempr=0; } int eat(Food f) { int r; if (f.type.equals("veg")) { r=1*f.quantity; } else if (f.type.equals("meat")) { r=3*f.quantity; } else { r=0; } System.out.println("I'm eatting " + f.name + ", YUMMY!"); weight+=r; height-=r; tempr=r; return r; } int piss() { int r; if (tempr!=0) { Pee mypee=new Pee(tempr); r=mypee.weight; } else { r=0; } weight-=r; return r; } void showInfo() { System.out.println("I'm a " + color + " monkey, my name is: " + name + ", weight " + weight + ", height " + height + "."); } } class Food { String type; String name; int quantity; Food(String t,String n,int q) { type=t;name=n;quantity=q; } void showInfo() { System.out.println(name + ", " + type + ", " + quantity); } } class Pee { int weight; Pee(int w) { weight=w; } } class Human extends Monkey { String fname; Human(String n,String c,int w,int h,String f) { super(n,c,w,h); fname=f; } void work() { weight--; } void showInfo() { System.out.println("I'm a human, my name is: " + name + " " +fname + ", weight " + weight + ", height " + height + "."); } } 展開
    391人看過
  • 2011-02-22 15:27發(fā)布了問答

    中醫(yī)師和中西醫(yī)結(jié)合醫(yī)師什么區(qū)別
    中醫(yī)師和中西醫(yī)結(jié)合醫(yī)師什么區(qū)別... 中醫(yī)師和中西醫(yī)結(jié)合醫(yī)師什么區(qū)別 展開
    616人看過