Scanner x = new Scanner(web.openStream());
System.out.print(web.toString());
我想我的掃描儀的對象更改爲一個字符串,但是當我打印出來,我得到這樣的事情掃描儀爲String在Java中
java.util.Scanner[delimiters=\p{javaWhitespace}+][position=0][match valid=false][need input=false][source closed=false][skipped=false][group separator=\,][decimal separator=\.][positive prefix=][negative prefix=\Q-\E][positive suffix=][negative suffix=][NaN string=\Q�\E][infinity string=\Q∞\E]/#
這是爲什麼?