java.time.Duration?
Which statement is true about -
java.time.Duration?
Which statement is true about -
java.time.Duration is a class in the java.time package that represents a duration of time-based values. It models a quantity or amount of time in terms of seconds and nanoseconds. It doesn't deal with calendar dates or time zones, nor does it account for daylight saving time, making 'It defines time-based values' the correct statement.
Answer is correct.
C is the correct answer
C is true.
Answer C is correct. Period defines time-based values.