static boolean objectsEquality(Object a,Object b){
  if (a == null)   return b == null;
  if (a == b)   return true;
  return (a.equals(b));
}

static boolean objectsEquality ( Object a , Object b ) { if ( a == null ) return b == null ; if ( a == b ) return true ; return ( a . equals ( b ) ) ; }
perform objects equality , cater for null and also first use = = which is not always true for various class " equals "
