10.1 String類別. String類別包裹在java.lang套件中,所以在使用前不需要以import載入。 ... int length(), 傳回字串的長度,也就是字串中有幾個字元.
確定! 回上一頁