原创 Java 簡單列舉一下抽象類和接口的區別

一、區別 抽象類(abstract) 接口(interface) 實現 × √ 繼承 √ × 能實例化 × × 實現或繼承使用的關鍵字 extends implements 實現或繼承的類叫做 子類