Original URL:
Http://www.tsingfun.com/html/2016/dev_0607/1512.html
The reason for this error is the new abstract class error, which indicates that a pure virtual function is not implemented in the parent class (interface). All pure virtual functions in the interface need to be implemented so that they can be new subclasses. Pure... The reason for this error is the new abstract class error, which indicates that a pure virtual function is not implemented in the parent class (interface).
All pure virtual functions in the interface need to be implemented so that they can be new subclasses.
Pure virtual functions such as void fun () = 0; is a pure virtual function, not a pure virtual function without requirement.
In addition, the Void Fun () {} empty function body is also implemented.
A pure virtual function is the equivalent of an abstract abstract class in C #.
=0 description function is an abstract method, who inherits it must implement it Otherwise you can't be new. |