vicsmi8868 vicsmi8868
  • 22-01-2020
  • Computers and Technology
contestada

Enumerated types have this method, which returns the position of an enum constant in the declaration list. A. toString B. position C. ordinal D. location

Respuesta :

dayanandghelaro
dayanandghelaro dayanandghelaro
  • 23-01-2020

Answer:

C. ordinal

Explanation:

ordinal method returns the position of an enum constant from the declaration list. You can find the attached picture which shows the prototype of ordinal method taken from official documentation of Java.

Ver imagen dayanandghelaro
Answer Link

Otras preguntas

What does NBT stand for?​
find -6 + 6. Show your work
7. What is the mass and weight of a 10-kg object on earth?​
1) In 1731 Ben Franklin founded in Philadelphia what was probably America's first public library. He also organized Philadelphia's first fire company, introduce
-5 > 2 true or false
How did General Dyer justify his actions in the massacre?
help me ASAP plls :)
70 of 500 respondents say they would visit a trampoline park. What percentage of respondents is this? a. 14% b.15.5% c.17% d.18.9%
Re-read the excerpt from paragraph 2 below: The farmers release beneficial insects, such as ladybugs, to feed on harmful insects. They also interfere with the r
How much stronger is a magnitude 5 earthquake than a magnitude 3 earthquake? PLS HELP