title: Why does this return false and true?
body: <pre><code>public class Test {
      public static final Double DEFAULT_DOUBLE = 12.0;
      public static final Long DEFAULT_LONG = 1L;
  
      public static Double convertToDouble(Object o) {
          return (o instanceof Number) ? ((Number) o).doubleValue()
                  : DEFAULT_DOUBLE;
      }
  
      public static Long convertToLong(Object o) {
          return (o instanceof Number) ? ((Number) o).longValue() : DEFAULT_LONG;
      }
  
      public static void main(String[] args){
          System.out.println(convertToDouble(null) == DEFAULT_DOUBLE);
          System.out.println(convertToLong(null) == DEFAULT_LONG);
      }
  }
  </code></pre>