Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.io.ByteArrayInputStream;
import java.io.DataInputStream;

public class Main {
    public static void main(String[] args) throws Exception {

        DataInputStream in3 = new DataInputStream(new ByteArrayInputStream("a dbcde".getBytes()));
        System.out.print((char) in3.readByte());
        in3.close();
    }
}