Be the first user to complete this post
|Add to List|
Print My IP Address – Java Code
Objective: Write a java program to print your IP address.
- Get the local host address of your system using getLocalHost() method.
- Use getHostAddress() method to get the IP address from local host address.
IP ADDRESS is : 220.127.116.11