Practice using String.format - 1

"Hi, Amigo!"

"No, Diego, that's enough! Do your own tasks!"

"Amigo, buddy. No one is going to do your tasks for you. Do you want to get smarter?"

"Yes."

"When you're at the gym, you don't ask others to pump iron or do crunches for you, do you?"

"No."

"Then you should also do all this work by yourself. I've got some very interesting tasks for you this time:"

undefined
12
Task
Java Multithreading, level 2, lesson 7
Locked
String formatting
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
undefined
6
Task
Java Multithreading, level 2, lesson 7
Locked
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!
undefined
6
Task
Java Multithreading, level 2, lesson 7
Locked
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)