@@ -0,0 +1,545 @@
+import java.util.Scanner;%0A%0Apublic class Main %7B%0A    public static void main(String%5B%5D args) %7B%0A        Scanner scanner = new Scanner(System.in);%0A        String input = scanner.nextLine();%0A%0A        switch (input) %7B%0A            case %22dog%22:%0A                System.out.println(%22mammal%22);%0A                break;%0A            case %22crocodile%22:%0A            case %22tortoise%22:%0A            case %22snake%22:%0A                System.out.println(%22reptile%22);%0A                break;%0A            default:%0A                System.out.println(%22unknown%22);%0A        %7D%0A    %7D%0A%7D%0A

Create 10.AnimalType.java