About Question enthuware.ocpjp.v11.2.3352 :

Post Reply
get4gopi
Posts: 2
Joined: Thu Apr 29, 2021 10:17 pm
Contact:

About Question enthuware.ocpjp.v11.2.3352 :

Post by get4gopi »

The question itself wrong -

Which of the following are valid implementations of java.util.Comparable?

Comparable interface is in java.lang package not in java.util package. Only the comparator interface is in java.util package.

https://docs.oracle.com/en/java/javase/ ... to,sort%20(and%20Arrays.&text=Note%20that%20null%20is%20not,of%20any%20class%2C%20and%20e.

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

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

Post by admin »

You are right. Fixed.
thank you for your feedback!
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests