在定义类时,如果希望类的某个方法能够在派生类中进一步改进,已处理不同的派生类的需要,则该将方法声明成()

A.sealed 方法 B.public 方法 C.virtual 方法 D.override 方法

时间:2023-10-22 08:03:14

相似题目