Write a program to get the IP address of localhost and identify if the address is IPV4 or IPV6.
Write a program that lists all the active network interface of machine and display its properties.
Write a program to display all the Inet4Address properties of localhost.