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