Closed VladOsipov closed 4 years ago
Please think what's wrong with this code block
Scanner scanner = new Scanner(System.in); ... if ("exit".equals(scanner)) { currentCommand = new ExitCommand(); }
Done.
Please think what's wrong with this code block