About Question enthuware.ocpjp.v8.2.1508 :
Moderator: admin
-
- Posts: 6
- Joined: Mon Sep 16, 2019 4:11 am
- Contact:
About Question enthuware.ocpjp.v8.2.1508 :
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.
-
- Site Admin
- Posts: 10062
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1508 :
Could you please post a screen shot?
If you like our products and services, please help us by posting your review here.
-
- Posts: 19
- Joined: Fri Aug 02, 2019 7:04 am
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1508 :
Hi! So can we say that the enums implementation of compareTo method sorts the elements by their ordinal?
-
- Site Admin
- Posts: 10062
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v8.2.1508 :
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.
Who is online
Users browsing this forum: pavvel and 121 guests