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