virtual and dynamic methods are semantically equivalent. However, they differ in the implementation of method-call dispatching at run time:
virtual methods optimize for speed, while dynamic methods optimize for code size.
No comments:
Post a Comment