You may use this to compare two enum data values.
A) the ordinal method
B) the ==, >, and < operators
C) the equals and compareTo methods
D) the moreThan, lessThan, and equalsTo methods
Correct Answer:
Verified
Q5: An enumerated data type is actually a
Q6: The key word this is the name
Q7: If you write a toString method for
Q9: enum constants have a toString method.
Q10: If a class has a method named
Q19: When an object is passed as an
Q25: A declaration for an enumerated type begins
Q26: What will be returned from the method,
Q33: The JVM periodically performs this process to
Q34: You can use the enum key word
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents