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 is 155% as a mixed number?
Is 2/14 equivalent to 3/7
When copper is hammered into a sheet what type of change has the matter gone through?
How do I prove that 0.3333.. Is equal to 1/3 using a geometric series?
How is linkage used to make gene maps?
a substance that moves  across a cell membrane without using the cells energy tends to move?a.)  away from the area of equilibriumb.) away from the area where i
What type of government does Botswana have? Who is their president?
What was Jefferson’s official position regarding the Napoleonic Wars?
why did advances industry occur mainly in the north? please Answer
The Lees have 3 children. The oldest is twice as old as the youngest. The middle is 5 years older than the youngest. If the sum of the age is 57, how old is eac