Pages

Sunday 20 November 2016

Problem 18 - IP Address

import java.net.InetAddress;
 
class IPAddress
{
   public static void main(String args[]) throws Exception
   {
      System.out.println(InetAddress.getLocalHost());
   }
}


0 comments:

Post a Comment