PrepAway - Latest Free Exam Questions & Answers

What would be the output of the following script?

What would be the output of the following script?
import java.net*;
public class ExampleByName {
public static void main(String[] args) {
try
{
InetAddress.getByName(www.microsoft.com”);
System.out.println(address);
}
catch (UnKnownHostException e) {
System.out.println(“Could not find www.microsoft.com”)
}

PrepAway - Latest Free Exam Questions & Answers

A.
IP address of www.microsoft.com

B.
Hexadecimal equivalent for www.microsoft.com

C.
Tracert information to the www.microsoft.com

D.
Whois information for www.microsoft.com

Explanation:


Leave a Reply