FileDocCategorySizeDatePackage
MyAddress.javaAPI DocExample311Sat Sep 09 19:53:42 BST 2000None

MyAddress

public class MyAddress extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)


    try {
      InetAddress address = InetAddress.getLocalHost();
      System.out.println(address);
    }
    catch (UnknownHostException e) {
      System.out.println("Could not find this computer's address.");
    }