Java tutorial
import java.io.CharArrayWriter; public class Main { public static void main(String[] args) { CharArrayWriter chw = new CharArrayWriter(); for (int i = 65; i < 70; i++) { chw.write(i); } String str = chw.toString(); System.out.println(str); } }