import java.net.*;
public class GetIP{
public static void main(String args[]){
InetAddress hd = null;
try{
hd = InetAddress.getByName(“www.nankai.edu.cn”);
}catch(UnknownHostException e) {}
System.out.println(hd);
}
}
课件名称: | 清华大学:JAVA教学课件 |
课件分类: | 计算机 |
课件类型: | 教学课件 |
文件大小: | 16.46MB |
下载次数: | 97 |
评论次数: | 33 |
用户评分: | 6.8 |