Ad
Code
Diff
  • public class BiggerNum
    {
      public static int compare(int a, int b)
      {
        return (a < b) ? b : a;
      }
    }
    • public class BiggerNum
    • {
    • public static int compare(int a, int b)
    • {
    • return Math.max(a, b);
    • return (a < b) ? b : a;
    • }
    • }