public static void main(String[] args) throws UnknownHostException { InetAddress inet = InetAddress.getLocalHost(); System.out.println("本机的ip=" + inet.getHostAddress()); }
发表于 2008-05-18 11:00 Fei飞 阅读(6220) 评论(0) 收藏 举报
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。