About Question enthuware.ocpjp.v8.2.1508 :

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

Moderator: admin

Post Reply
timwaagh
Posts: 6
Joined: Mon Sep 16, 2019 4:11 am
Contact:

About Question enthuware.ocpjp.v8.2.1508 :

Post by timwaagh »

this one seems bugged. i just get a bunch of code with no blanks then bunch of blanks just below the words we're allowed to fill in.

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

Re: About Question enthuware.ocpjp.v8.2.1508 :

Post by admin »

Could you please post a screen shot?
If you like our products and services, please help us by posting your review here.

Bhaskar
Posts: 19
Joined: Fri Aug 02, 2019 7:04 am
Contact:

Re: About Question enthuware.ocpjp.v8.2.1508 :

Post by Bhaskar »

Hi! So can we say that the enums implementation of compareTo method sorts the elements by their ordinal?

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

Re: About Question enthuware.ocpjp.v8.2.1508 :

Post by admin »

Yes, that is another way of saying it. The ordinal of an enum constant is as per the order in which the enum constants are defined. The ordinal of the first enum constant is 0.
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 29 guests