why doesn't it like ternary format?
package com.codegym.task.task12.task1209;
import java.util.*;
/*
Three methods and a minimum
*/
public class Solution {
public static void main(String[] args) {
}
public static int min(int a, int b){
a<b ? return a : return b;
}
public static long min(long a, long b){
a <b ?return a : return b;
}
public static double min(double a, double b){
a<b ?return a : return b;
}
//write your code here
}