package com.javarush.task.task12.task1210; //If you know these things, blessed are you if you do them.(John 13:17) /* ТÑи меÑода и макÑимÑм */ public class Solution { public static void main(String[] args) { } public static int max (int a, int b) {//ÐапиÑиÑе ÑÑÑ Ð²Ð°Ñи меÑÐ¾Ð´Ñ if (a>b) {return a;}else{return b;} } public static long max (long a, long b) { if (a>b) {return a;}else{return b;} } public static double max (double a, double b) { if (a>b) {return a;}else{return b;} } }