正在加载图片...
使用 Inetaddress 构造一个 netAddress实例 没有构造函数,因此不能用new来构造 public static Inet Address get ByName(String host) public static Inet Address getLocalHosto public static Inet Address getAllByName(String host) host可以是一台机器名,也可以是 个形如“%d.%d.%d%d”的IP地 址或一个DSN域名使用InetAddress ▪ 构造一个InetAddress实例 ▪ 没有构造函数,因此不能用new来构造 public static InetAddress getByName(String host); public static InetAddress getLocalHost(); public static InetAddress[] getAllByName(String host) host可以是一台机器名,也可以是 一个形如“%d.%d.%d.%d”的IP地 址或一个DSN域名
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有