CodeGym/Cours/Multithreading Java/Entraînez-vous à utiliser String.format

Entraînez-vous à utiliser String.format

Disponible
Entraînez-vous à utiliser String.format - 1

« Salut Amigo ! »

"Non, Diego, ça suffit ! Fais tes propres tâches !"

"Amigo, mon pote. Personne ne va faire tes tâches à ta place. Tu veux devenir plus intelligent ?"

"Oui."

"Quand vous êtes au gymnase, vous ne demandez pas aux autres de pomper du fer ou de faire des abdominaux pour vous, n'est-ce pas?"

"Non."

"Alors tu devrais aussi faire tout ce travail par toi-même. J'ai des tâches très intéressantes pour toi cette fois :"

12
Mission
Multithreading Java,  niveau 2leçon 7
Bloqué
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
6
Mission
Multithreading Java,  niveau 2leçon 7
Bloqué
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
Mission
Multithreading Java,  niveau 2leçon 7
Bloqué
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)
Commentaires
  • Populaires
  • Nouveau
  • Anciennes
Tu dois être connecté(e) pour laisser un commentaire
Cette page ne comporte pas encore de commentaires