Math, asked by VaibhavGupta79, 6 months ago

write a Java program to get IP address ???​

Answers

Answered by Anonymous
0

Answer:

The steps are as follows:

  1. Get the local host address by calling getLocalHost() method of InetAddress class.
  2. Get the IP address by calling getHostAddress() method.
Answered by adarshshrivastava985
2

Answer:

......................... . ................ .....

............

...............

..................

Attachments:
Similar questions