โค้ดยิม/หลักสูตรจาวา/Java มัลติเธรด/ฝึกฝนการใช้ StringBuilder และ StringBuffer

ฝึกฝนการใช้ StringBuilder และ StringBuffer

มีอยู่
ฝึกฝนการใช้ StringBuilder และ StringBuffer - 1

“สวัสดี อามีโก้!”

“สวัสดี ดิเอโก คุณรู้อะไรไหม ฉันตัดสินใจแล้วว่าทุกอย่างที่คุณทำก็เพื่อประโยชน์ของฉันเอง”

"ขอบคุณสำหรับงาน ฉันยินดีที่จะทำ"

24
งาน
Java Multithreading,  ระดับบทเรียน
ล็อค
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.
12
งาน
Java Multithreading,  ระดับบทเรียน
ล็อค
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'
24
งาน
Java Multithreading,  ระดับบทเรียน
ล็อค
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.
ความคิดเห็น
  • เป็นที่นิยม
  • ใหม่
  • เก่า
คุณต้องลงชื่อเข้าใช้เพื่อแสดงความคิดเห็น
หน้านี้ยังไม่มีความคิดเห็นใด ๆ