About Question enthuware.ocpjp.v21.2.3352 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
giginar
Posts: 21
Joined: Fri Feb 07, 2025 5:36 pm
Contact:

About Question enthuware.ocpjp.v21.2.3352 :

Post by giginar »

Hello, do we need to know other methods of Comparator interface such as comparing, comparingInt, naturalOrder, reversed, reversedOrder?

admin
Site Admin
Posts: 10446
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v21.2.3352 :

Post by admin »

Yes, at least comparing and reversed also.
But if you are going through the Javadoc for Comparator, take a look at others too, especially the thenComparing type methods.

giginar
Posts: 21
Joined: Fri Feb 07, 2025 5:36 pm
Contact:

Re: About Question enthuware.ocpjp.v21.2.3352 :

Post by giginar »

admin wrote:
Thu Jul 03, 2025 10:11 pm
Yes, at least comparing and reversed also.
But if you are going through the Javadoc for Comparator, take a look at others too, especially the thenComparing type methods.
thank you.

bekeanloinse
Posts: 5
Joined: Tue Jun 25, 2024 10:11 pm
Contact:

Re: About Question enthuware.ocpjp.v21.2.3352 :

Post by bekeanloinse »

Got it, thank you! I’ll make sure to go through the Javadoc and review thenComparing and other related methods. Appreciate the Geometry Dash Lite clarification!

lossstarry
Posts: 3
Joined: Sun Sep 15, 2024 9:54 pm
Contact:

Re: About Question enthuware.ocpjp.v21.2.3352 :

Post by lossstarry »

admin wrote:
Thu Jul 03, 2025 10:11 pm
Yes, at least comparing and reversed also.
But if you are going through the Javadoc for Comparator, take a look at others too, especially the thenComparing type methods Tap Road
Thanks admin, thenComparing method is very convenient

xenoiaten
Posts: 2
Joined: Mon Dec 08, 2025 11:16 pm
Contact:

Re: About Question enthuware.ocpjp.v21.2.3352 :

Post by xenoiaten »

giginar wrote:
Thu Jul 03, 2025 9:56 am
Hello, do we need to know other methods of Comparator interface such as comparing, comparingInt, naturalOrder, reversed, reversedOrder?
Poor Bunny
yes, it is highly beneficial to know these methods of the Comparator interface, especially if you are studying for a Java certification (like the Oracle Certified Professional - OCP) or if you want to write modern, clean, and concise Java code.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 42 guests