BBS水木清华站∶精华区

发信人: DBPZ (小石头※从头再来), 信区: Java        
标  题: Re: 骡子问题 
发信站: BBS 水木清华站 (Mon Aug 21 22:27:39 2000) 
 
 
可是驴马骡子的方法在实现上是一样的。 
 
这样就多写了一倍的代码。 
 
【 在 baleno (让我知道的ID快乐) 的大作中提到: 】 
 我认为应该是 
 public class horse extend mammal implements horseable 
 public class donkey extend mammal implements donkeyable 
 public class mule extend mammal implements horseable, donkeyable 
 
 
-- 
  DBPZ想和你作朋友呢... 
    ^     ^ 
    .  H  . 
       V 
     \___/  ##### 让我们来到土鳖家园 http://www.tubie.com/ #####  
   成长最快的9#网站 http://net9.org  个人HOME http://cu.dhs.org   
 
 
※ 来源:·BBS 水木清华站 smth.org·[FROM: 202.112.45.46] 

BBS水木清华站∶精华区