Java Program prints ip address

Java Program prints ip address | IP address Printing using Java



import java.net.InetAddress;

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

We Are Founder..