public static String toString(Object object){
  return object != null ? object.toString() : null;
}

public static String toString ( Object object ) { return object != null ? object . toString ( ) : null ; }
returns the string representation of the object , or null if the object is null .
