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 the difference between positive and negative slopes?
The course of this conflict is not known, yet its outcome is certain. Freedom and fear, justice and cruelty, have always been at war, and we know that God is no
choose all answers that apply. thanks ♡♡​
What is the inverse of the function f(x)=x+3?
A 1400 kg car is traveling east on the highway at 31 m/s and collides into the rear of a slower moving pickup truck of 2400 kg, which is traveling east at 25 m/
If you needed only 1 cup of milk, what is your best choice at the grocery store—a quart container, a pint container, or a 1/2 gallon container?
how are short stories different to poetry
Help please.... 14 points..?
A consumer products company found that 42​% of successful products also received favorable results from test market​ research, whereas 11​% had unfavorable resu
please help i will give brainliest :/