package InputandOtput;
import java.io.*;
public class ReadBytes {
public static void main(String[] args){
throws IOException {
byte[] data = new byte[10];
System.out.println("Enter Symbol");
System.in.read(data);
System.out.println("You enter: ");
for (int i = 0; i < data.length; i++) {
System.out.print(data[i]);
}
}
}
}