Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.nio.charset.Charset;

public class Main {
    public static void main(String[] argv) {
        byte[] bytes = new byte[] { 65, 66, 67, 68 };
        System.out.println(new String(bytes, 1, 3, Charset.forName("ASCII")));

    }
}