class bacaData2 {
public static void main(String args []){
byte buf [] = new byte [10];
try{
System.in.read (buf);
}
catch (Exception e){
System.out.println ("error :" +e.toString());
}
String s = new String (buf,0);
System.out.println(s);
}
}
No comments:
Post a Comment