Because the requirements will differ according to context, the advice to set up the worker object is best contained in each sub-aspect rather than in the abstract base aspect.
因为要求根据上下文而不同,所以设置工人对象的建议最好是包含在每个子方面中,而不是在抽象的基方面中。
Though you call it with sub class object, it will run only base class implementation.
虽然你叫它的子类对象,它将只运行基类的实现。
应用推荐