Correct the getFormattedString method so that it returns a string with format specifiers.
Don't use \n to convert carriage returns.
The output should be:
20 / 7 = 2.86
Exp = 3.33e+00
6
任务
Java Multithreading, 第 2 级, 课程 7
已锁定
I LOVE CodeGym!
Correct the getFormattedString method so that it returns a string with format specifiers.
The parameters must be swapped.
The output should be:
I LOVE CodeGym!
6
任务
Java Multithreading, 第 2 级, 课程 7
已锁定
Date formatting
Correct the getFormattedString method so that it returns a string with format specifiers.
The output should be something like this:
04:05:18 09:09:09 (month:day:year hours:minutes:seconds)