What does the ordinal() method return when used with enums in Java?
ordinal()
The name of the enum constant
The hashCode of the enum constant
The declaration order of the enum constant, starting with 0
The memory address of the enum constant