@@ -0,0 +1,1316 @@
+import java.util.Scanner;%0A%0Apublic class GreaterOfTwoValues %7B%0A    private static int getMax(int first, int second) %7B%0A        return first %3E= second ? first : second;%0A    %7D%0A%0A    private static char getMax(char first, char second) %7B%0A        return first %3E= second ? first : second;%0A    %7D%0A%0A    private static String getMax(String first, String second) %7B%0A        return first.compareTo(second) %3E= 0 ? first : second;%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        Scanner scanner = new Scanner(System.in);%0A        String type = scanner.nextLine();%0A%0A        switch (type) %7B%0A            case %22int%22: %7B%0A                int first = Integer.parseInt(scanner.nextLine());%0A                int second = Integer.parseInt(scanner.nextLine());%0A                System.out.println(getMax(first, second));%0A                break;%0A            %7D%0A            case %22char%22: %7B%0A                char first = scanner.next().charAt(0);%0A                char second = scanner.next().charAt(0);%0A                System.out.println(getMax(first, second));%0A                break;%0A            %7D%0A            case %22string%22: %7B%0A                String first = scanner.nextLine();%0A                String second = scanner.nextLine();%0A                System.out.println(getMax(first, second));%0A                break;%0A            %7D%0A        %7D%0A    %7D%0A%7D%0A

Create 07.GreaterOfTwoValues.java