algorithms.tutorialhorizon.com
Print My IP Address – Java Code | Algorithms
Objective: Write a java program to print your IP address. Approach: Get the local host address of your system using getLocalHost() method. Use getHostAddress() method to get the IP address from local