Program to get your ip address

 



/*
 Open Source
 */
/**
 *
 * @author lol ik
 */
import java.net.InetAddress;

class ip
{
   public static void main(String args[]) throws Exception
   {
      System.out.println(InetAddress.getLocalHost());
   }
}
Posted by lol ik

Comments

Popular Posts