摘要: 5.26 String的public String substring(int beginIndex) 返回一个字符串,该字符串是此字符串的子字符串。 子字符串以指定索引处的字符开头,并扩展到该字符串的末尾。 以及public String substring(int beginIndex,int 阅读全文
posted @ 2020-05-26 22:57 麻雀麻雀 阅读(134) 评论(0) 推荐(0)
摘要: 网络编程 地址 //查询本机地址 InetAddress inetAddress = InetAddress.getByName("127.0.0.1"); System.out.println(inetAddress); InetAddress localname = InetAddress.ge 阅读全文
posted @ 2020-05-26 15:41 麻雀麻雀 阅读(126) 评论(0) 推荐(0)