Open dorohovichandrey opened 4 years ago
public interface Command { String getInstruction(); int getParamsNumber(); String[] getParamInstruction(); // Better use List instead of array, and rename to getParamInstructions CommandResult process(List<String> params); }
Why better use List, not array?