import java.io.*;
class BISDemo
{
public static void main(String args[])throws IOException
{
String s="Beauty lies in lover's eyes.";
byte buf[]=s.getBytes();
ByteArrayInputStream in=new ByteArrayInputStream(buf);
BufferedInputStream f=new BufferedInputStream(in);
int c;
while((c=f.read())!=-1)//我的疑问在这里!.read不是返回的是实际读取的字节树吗?但是为什么输出确是Beauty lies in lover's eyes.呢 ?
{System.out.print((char)c);}
}
}