What is the function of the compare(T a, T b, Comparator c) method of the Objects class? Data Structures What is the function of the compare(T a, T b, Comparator<T> c) method of the Objects class? Answer: Compares two objects of the same type, returning 0 if the arguments are equal or the result of c.compare(a, b) if not. Learn More : Share this Share on FacebookTweet on TwitterPlus on Google+
If the answers is incorrect or not given, you can answer the above question in the comment box. If the answers is incorrect or not given, you can answer the above question in the comment box.