Card 34 / 42: What does the method ceilingKey in TreeMap do?
A)
Returns the least key greater than or equal to the given key, or null if there is no such key.
B)
Returns the least key strictly greater than the given key, or null if there is no such key.
C)
Returns the least key in the tree
Answer:
A) Returns the least key greater than or equal to the given key, or null if there is no such key.
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|
Oracle Certified Professional Java Programmer
Author:
JavaChamp TeamSenior Java Developer
QuizOver.com
Germany
Access: |