• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

inetaddress problem

 
pawar rahul
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i used ,
InetAddress address = InetAddress.getByName("google.com");
System.out.println(address);

it did not give any output by threw UnknownHostException though my computer is connected to the internet.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic