Monday, 22 June 2015

IP Address Program (Core JAVA)



import java.net.InetAddress;

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

No comments:

Post a Comment