import java.net.InetAddress;
class IPAddress
{
public static void main(String args[]) throws Exception
{
System.out.println(InetAddress.getLocalHost());
}
}
Java Program prints ip address
Java Program prints ip address | IP address Printing using Java
Subscribe to:
Posts (Atom)