what is the difference between the codes below?
//case01
Scanner sc=new Scanner(new BufferedInputStream(System.in));
while(sc.hasNext())
{
System.out.println("输出:"+sc.next());
}
//case02
Scanner sc=new Scanner(System.in);
while(sc.hasNext())
{
System.out.println("输出:"+sc.next());
}