定義 Interface
Interface
根源object class
不能定義自己的數據成員
不能定義構造或析構函數
不能聲明Static成員
不能繼承class
可以繼承一個或者多個Interface
從Interface繼承下來的class 必須實現Interface中的所有成員方法.
根源object class
不能定義自己的數據成員
不能定義構造或析構函數
不能聲明Static成員
不能繼承class
可以繼承一個或者多個Interface
從Interface繼承下來的class 必須實現Interface中的所有成員方法.
浙公网安备 33010602011771号