Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

public class Main {

    public static void main(String[] arg) {

        StringBuilder buffer = new StringBuilder();
        char[] chars = new char[] { 'j', 'a', 'v', 'a', '2', 's', '.', 'c', 'o', 'm' };
        buffer.append(chars, 1, 3);
        System.out.println(buffer);
    }

}