Which statement is true about java.time.Duration?
Which statement is true about java.time.Duration?
Java's java.time.Duration class deals with time-based values, representing the amount of time between two instances, measured in seconds and nanoseconds. It does not track time zones, preserve daylight saving time, or define date-based values. Therefore, the correct statement about java.time.Duration is that it defines time-based values.
C,test
C is the correct answer
C is the answer.