While this code is specific to a Printer, it is oblivious to whether the test is for printing or initialization, or to whether Printer is the target of a method call or a parameter to a method.
虽然这段代码是针对Printer的,但无论测试的是打印还是初始化,无论printer是方法调用的目标还是方法参数,都没有关系。
While this code is specific to a Printer, it is oblivious to whether the test is for printing or initialization, or to whether Printer is the target of a method call or a parameter to a method.
虽然这段代码是针对Printer的,但无论测试的是打印还是初始化,无论printer是方法调用的目标还是方法参数,都没有关系。
应用推荐