undefined

Practice using StringBuilder and StringBuffer

Java Multithreading
Level 2 , Lesson 9
Available
Practice using StringBuilder and StringBuffer - 1

"Hi, Amigo!"

"Hi, Diego. You know what, I've decided that everything you do is for my own good."

"Thanks for the tasks. I'd be happy to do them."

undefined
24
Task
Java Multithreading, level 2, lesson 9
Locked
Inverted words
In the main method, read the name of a file that contains words separated by spaces from the console. In the text of the file, find all pairs of words that are mirror images of each other. Add them to result. Use StringBuilder. The file encoding is UTF-8.
undefined
12
Task
Java Multithreading, level 2, lesson 9
Locked
Build a WHERE query
Build part of a WHERE query using StringBuilder. If a parameter is null, then it shouldn't be included in the query. Example: {name=Johnson, country=United States, city=Los Angeles, age=null} Result: name = 'Johnson' and country = 'United States' and city = 'Los Angeles'
undefined
24
Task
Java Multithreading, level 2, lesson 9
Locked
Make a word chain
In the main method, read the name of a file that contains words separated by spaces from the console. In the getLine method, use StringBuilder to order all the words as follows: the last letter of a word must match the first letter of the next word (ignore case). Each word should be used once.
Comments (8)
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION
Banak Level 26 Saint-Gratien France
7 March 2021
Make a word chain !!!!😃😃😃😃😃😃😍😍😍😍
Vincenzo Seggio Level 27
20 February 2021
The "Make a word chain" task is really bad 🥶
Andrej Level 25 Partizanske Slovakia
13 November 2020
I believe that "Make a word chain" task should be worth at least 150 dark matter...
Hossein Shams Level 26 Atlanta United States
25 October 2019
Dear CodeGym You are awesome. Please fix this (Inverted Words): In the task instruction, it says: "In the main method, read the name of a file that contains words separated by spaces from the console", while the validator uses a text file containing lines separated with carrier return and line feed characters. Thank you for all your hard work.
Senned Level 41 Azov Russia
7 October 2019
3th task - prepare to war with validator!