Which of the following code snippets correctly reads a Day enum value from the keyboard?
enum Day {MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY};
Scanner scanner = new Scanner(System.in);
Which of the following code snippets correctly reads a Day enum value from the keyboard?
enum Day {MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY};
Scanner scanner = new Scanner(System.in);