InetAddress inetAddress =
InetAddress.getByName("67.83.45.9");
System.out.println ("Host Name: "
+ inetAddress.getHostName());
Tuesday, June 19, 2007
How can you get the hostname on the basis of IP addres ?
Subscribe to:
Post Comments (Atom)
World of tricky Core Java Q&A(Java SE),Java EE and Open source technologies like Struts,Hibernate,Spring,Velocity etc
InetAddress inetAddress =
InetAddress.getByName("67.83.45.9");
System.out.println ("Host Name: "
+ inetAddress.getHostName());
Disclaimer
Interview Questions On Java,Java EE Copyright © 2010
0 comments:
Post a Comment