要说独特,VB才独特
Interface ITest
Sub P();
End InterfaceClass C1:Implements ITest
Private Sub MyP()Impelments ITest.P
End Sub
End Class
换了一个名字,还改了访问权限,仍然能够实现借口。这个好像只有Delphi才有过的
Interface ITest
Sub P();
End InterfaceClass C1:Implements ITest
Private Sub MyP()Impelments ITest.P
End Sub
End Class
换了一个名字,还改了访问权限,仍然能够实现借口。这个好像只有Delphi才有过的
C++上new C2就会出错, 因为C2是抽象类.没有实现void f().