import java.net.*;
public class MainClass {
public static void main (String[] args) {
try {
InetAddress[] addresses = InetAddress.getAllByName("www.google.com");
for (int i = 0; i < addresses.length; i++) {
System.out.println(addresses[i]);
}
}
catch (UnknownHostException e) {
System.out.println("Could not find www.apple.com");
}
}
}
www.google.com/72.14.253.147
www.google.com/72.14.253.99
www.google.com/72.14.253.103
www.google.com/72.14.253.104