| ประโยคภาษาจีน : 中文句子 | 
|---|
|  yǒu shí有时  zài在  gèng更  lì yú利于  duō tài多态  de的  qíng kuàng xià情况下  wèi le为了  zhǐ chū指出  fǎn huí返回  què dìng确定  de的  jiē kǒu接口  shí xiàn实现  huò zhě或者  zǐ lèi子类  yí gè一个  biāo jì标记  jiāng将  bèi被  chuán rén传人  gōng chǎng工厂  fāng fǎ方法 | 
| Sometimes, in the case of facilitating polymorphism, a flag will be passed to the factory method to indicate the specific interface implementation or subclass to be returned. |