Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.io.DataInput;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.InputStream;

public class Main {
    public static void main(String[] args) throws Exception {
        InputStream is = new FileInputStream("c:\\test.txt");

        DataInput in = new DataInputStream(is);
        DataInputStream.readUTF(in);

    }
}