Here you need to prepare a StringBuilder that produces all English letters in uppercase (A-Z). All the letters should be separated by one space, but there shouldn't be a space after the last letter. Despite the possibility to solve this problem without a StringBuilder at all, we highly recommend you to use it to get more practice.
StringBuilder
The English alphabet
Report a typo
Write a program in Java 17
class EnglishAlphabet {
public static StringBuilder createEnglishAlphabet() {
// write your code here
}
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.