Question: Imagine a logging system for a program which associates error / debug messages with timestamps, and where the messages often need to be printed from
Imagine a logging system for a program which associates errordebug messages with timestamps, and where the messages often need to be printed from oldest to newest. Timestamps are represented as a custom Timestamp class. Which is the most appropriate data type?HashMapHashMapTreeMapTreeMap
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
