我的问题不容易用文字解释,幸运的是它不太难演示。所以,请耐心等待:publicinterfaceCommand{publicRexecute();//parameterRisthetypeofobjectthatwillbereturnedastheresultoftheexecutionofthiscommand}publicabstractclassBasicCommandimplementsCommand{}publicinterfaceCommandProcessor>{publicRprocess(Ccommand);//thisismyquestion...it'sille