????????????????????AbstractCar???????????????????????????????п??????????????????????????????????й漲???Щ????????????getEngine()???????????????????????涼???????????????????????壨??????????????AbstractCar???????п??????????????????????????????
?????????Drivable??drive()???????????????????????????????????????????
??????????????????????????????????????drive()???abstract???????????????????????????????????????????????????????
????????????е?????????ο???java.util.AbstractList??add(int location??E object)???????????????????д????
????*@throws UnsupportedOperationException
????*if adding to this List is not supported.
????public abstract class AbstractCar implements Drivable{
????public abstract Engine getEngine();
????public abstract Wheel getWheel();
????@Override
????public void drive(){
????throw new UnsupportedOperationException();
????}
????//?????????????????
????}
?????????????δ????е?drive()??????????
????????????“????”?????????????????????????????Override?????????????????drive????
??????java?????е?List????

????Full Container Taxonomy
?????????????????????List???й?????????Iterable??????List???????????????????????????Iterator??????????????б????????????????????????
???????????????????е?????????????????????????е??б?????????????
?????????????£??????????塣
??????
??????????????У?

????????????????????????????????Э??????????????????е?????????????????????е????????????????????Э?????????????壺
????Iterable<-Collection<-List<-AbstractList<-List
???????????????????????????
????????????????????
????????ArrayList????????????????ArrayList????Щ???????γ???
??????AbstractList???ArratList????γ???????AbstractList???????ArrayList??????????Stack????LinkedList??
????List?????????е??б???????
????Collection??????е???????????????
????Iterable????????ε?????????????е?????????????????