静态I/O输入出错,高手请帮忙!
刚抄一段CODE,
byte chArray[]=new byte[128];
System.out.print("Please enter the word: ");
System.in.read(chArray);
System.out.println("Your input words is: ");
System.out.println(chArray);
运行时没有结果:
Please enter the word: good
Your input words is:
[B@18e3e60
请问哪边出错了,谢谢!