比方說,我們有這個方法public class Animal { public void eat() { } } ,並在延伸的動物具有這種方法public String eat(){} 這被認爲是爲方法覆蓋另一個類?
確定! 回上一頁