Saturday, 7 January 2017

JAVA PROGRAM SHOWING IP ADDRESS

import java.net.InetAddress;

class IPAddress
{
   public static void main(String args[]) throws Exception
   {
      System.out.println(InetAddress.getLocalHost());
   }
}
Post a Comment