posts - 37,comments - 7,trackbacks - 0
A hook is a method that is declared in the abstract class, but only give an empty or default implementation. This gives subclasses the ability to "hook into" the algorithm at various points, if they wish; a subclass is also free to ignore the hook.
posted on 2005-08-15 09:55 Dave 阅读(140) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: