0 0
Read Time:9 Second

Write a Java program to print LocalTime and LocalDate yyyy-MM-dd HH:mm:ss

Output:

yyyy-MM-dd HH:mm:ss = 2022-12-24 02:58:21
Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %