Question: 2. Write a Java method that takes an IP address (String) and returns the name of the network interface that has the IP address if

 2. Write a Java method that takes an IP address (String)

2. Write a Java method that takes an IP address (String) and returns the name of the network interface that has the IP address if any.( 4 points 3. Write a Java method that takes the name of a computer, contacts the DNS and returns the IP address (as a String) of the computer. If the DNS cannot find the address the method should return null. (4 points) 2. Write a Java method that takes an IP address (String) and returns the name of the network interface that has the IP address if any.( 4 points 3. Write a Java method that takes the name of a computer, contacts the DNS and returns the IP address (as a String) of the computer. If the DNS cannot find the address the method should return null. (4 points)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!