Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

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);
    }
}