Which of the following will print current time?



A

B.

C.

D.

E. None of the above.

題解

這題只是在測驗LocalTime類別的用法,參考這篇的解說:

https://magiclen.org/java-8-date-time-api/

由此可知,答案是選項C。