Can anyone show be a basic example of input out with Java.
I can do this in vb in two seconds with vb but with java
it seems to be a pain in the A%@....

import java.io.*;

class iotest{
public static void main(String[] args){

int chararacter;
byte[] hold;

FileDescriptor in = new FileDescriptor("C:\iotest");
FileInputStream fileinputstream = new FileInputStream(in);

while((character = FileInputStream.read(byte[] hold) != -1){
System.out.println("Reading Data");
}

}
}