Display IP Address (Java Program)


import java.net.InetAddress;

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

Download Full Project

Comments

Popular posts from this blog

Display MessageBox (Java Program)

Open Notepad (Java Program)